su/data/borders

The shortcodes-ultimate su/data/borders hook.

Published Date - February 15, 2021

Description

return apply_filters(
	'su/data/borders',
	array(
		'none'   => __( 'None', 'shortcodes-ultimate' ),
		'solid'  => __( 'Solid', 'shortcodes-ultimate' ),
		'dotted' => __( 'Dotted', 'shortcodes-ultimate' ),
		'dashed' => __( 'Dashed', 'shortcodes-ultimate' ),
		'double' => __( 'Double', 'shortcodes-ultimate' ),
		'groove' => __( 'Groove', 'shortcodes-ultimate' ),
		'ridge'  => __( 'Ridge', 'shortcodes-ultimate' ),
	)
);

Parameters

  1. $array, solid => __, dotted => __, dashed => __, double => __, groove => __, ridge => __)


Usage

The following example is for adding a hook callback.

// define the su/data/borders callback 
function custom_su_data_borders( $array, solid => __, dotted => __, dashed => __, double => __, groove => __, ridge => __) ){ 
   //custom code here
    return $array, solid => __, dotted => __, dashed => __, double => __, groove => __, ridge => __)
} 

//add the action 
add_filter('su/data/borders', 'custom_su/data/borders', 10, 1)

Defined

The filter is defined in the following location(s).

shortcodes-ultimate/includes/config/borders.php

return apply_filters(
	'su/data/borders',
	array(
		'none'   => __( 'None', 'shortcodes-ultimate' ),
		'solid'  => __( 'Solid', 'shortcodes-ultimate' ),
		'dotted' => __( 'Dotted', 'shortcodes-ultimate' ),
		'dashed' => __( 'Dashed', 'shortcodes-ultimate' ),
		'double' => __( 'Double', 'shortcodes-ultimate' ),
		'groove' => __( 'Groove', 'shortcodes-ultimate' ),
		'ridge'  => __( 'Ridge', 'shortcodes-ultimate' ),
	)
);