su/generator/breadcrumbs

The Shortcodes Ultimate su generator breadcrumbs hook.

Description

Parameters (1)

0. $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div — Optional. (string) => '' . __( 'All shortcodes', 'shortcodes-ultimate' ) . '' . $shortcode['name'] . ' ' . $shortcode['desc'] . '
'
The a href javascript void 0 class su generator home title click to return to the shortcodes list shortcodes ultimate all shortcodes shortcodes ultimate a rarr span shortcode name span small class alignright shortcode desc small div class su generator clear div.

Usage

To run the hook, copy the example below.
  1. $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div = apply_filters( 'su/generator/breadcrumbs', $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div ); 
  2.  
  3. if ( !empty( $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the su/generator/breadcrumbs callback 
  2. function filter_su_generator_breadcrumbs( $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div ) { 
  3. // make filter magic happen here... 
  4. return $a_href_javascript_void_0_class_su_generator_home_title____click_to_return_to_the_shortcodes_list_shortcodes_ultimate____all_shortcodes_shortcodes_ultimate_a_rarr_span_shortcode_name__span_small_class_alignright_shortcode_desc__small_div_class_su_generator_clear_div
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'su/generator/breadcrumbs', 'filter_su_generator_breadcrumbs', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'su/generator/breadcrumbs', 'filter_su_generator_breadcrumbs', 10, 1 ); 

Defined (1)

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

/inc/core/generator.php  
  1. $return .= apply_filters( 'su/generator/breadcrumbs', '<a href="javascript:void(0);" class="su-generator-home" title="' . __( 'Click to return to the shortcodes list', 'shortcodes-ultimate' ) . '">' . __( 'All shortcodes', 'shortcodes-ultimate' ) . '</a> → <span>' . $shortcode['name'] . '</span> <small class="alignright">' . $shortcode['desc'] . '</small><div class="su-generator-clear"></div>' );