Skip to content

Instantly share code, notes, and snippets.

@fritz-gerneth
Created July 20, 2014 11:06
Show Gist options
  • Save fritz-gerneth/84c7c5211da941950e4c to your computer and use it in GitHub Desktop.
Save fritz-gerneth/84c7c5211da941950e4c to your computer and use it in GitHub Desktop.
if(function_exists('add_shortcode_param'))
{
add_shortcode_param('icon_manager', array($this,'icon_manager'));
}
// Generate param type "number"
if ( function_exists('add_shortcode_param'))
{
add_shortcode_param('number' , array(&$this, 'number_settings_field' ) );
}
// Generate param type "heading"
if ( function_exists('add_shortcode_param'))
{
add_shortcode_param('heading' , array($this, 'heading_settings_field' ) );
}
// Generate param type "colorpicker_alpha"
if ( function_exists('add_shortcode_param'))
{
add_shortcode_param('colorpicker_alpha' , array($this, 'colorpicker_alpha_gen') );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment