More doc comments
This commit is contained in:
parent
7db59fa92c
commit
7d2fddaed9
@ -229,11 +229,12 @@ function fictioneer_get_default_shortcode_args( $attr, $def_count = -1 ) {
|
||||
} else {
|
||||
$splide = json_decode( $args['splide'], true );
|
||||
|
||||
// Turn arrows are off by default
|
||||
// Turn arrows off by default
|
||||
if ( ! preg_match( '/"arrows"\s*:\s*true/', $args['splide'] ) ) {
|
||||
$splide['arrows'] = false;
|
||||
}
|
||||
|
||||
// Change default arrow SVG path
|
||||
if ( ! isset( $splide['arrowPath'] ) ) {
|
||||
$splide['arrowPath'] = 'M31.89 18.24c0.98 0.98 0.98 2.56 0 3.54l-15 15c-0.98 0.98-2.56 0.98-3.54 0s-0.98-2.56 0-3.54L26.45 20 13.23 6.76c-0.98-0.98-0.98-2.56 0-3.54s2.56-0.98 3.54 0l15 15';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user