Wiki

Clone wiki

Shortcode Ultimate V2 / Inner API / su_shortcode_atts()

Example

<?php
$atts = su_shortcode_atts(array(
          'size'    => 16,
          'class'   => ''
       ), $atts, 'new_heading');
?>

Param

Param Name Type Description
$attribute array all available option can be added by using this array. Note: Array key is the name of option and Array-value is the default value of your shortcode.
$shortcode string you must put here the name of shortcode.

Updated