You appear to be a bot. Output may be restricted
Description
Produce a table of shortcodes
Usage
bw_list_shortcodes( $atts );
Parameters
- $atts
- ( array ) optional – shortcode parameters
Returns
voidSource
File name: oik/shortcodes/oik-codes.phpLines:
1 to 19 of 19
function bw_list_shortcodes( $atts = NULL ) { global $shortcode_tags; $ordered = bw_array_get( $atts, "ordered", "N" ); $ordered = bw_validate_torf( $ordered ); //bw_trace2( $shortcode_tags ); //bw_trace2( $ordered, "ordered" ); if ( $ordered ) { ksort( $shortcode_tags ); } //bw_trace2( $shortcode_tags, "shortcode_tags" ); add_action( "bw_sc_help", "bw_sc_help" ); add_action( "bw_sc_example", "bw_sc_example" ); add_action( "bw_sc_syntax", "bw_sc_syntax", 10, 2 ); bw_help_table(); foreach ( $shortcode_tags as $shortcode => $callback ) { bw_get_shortcode_syntax_link( $shortcode, $callback ); } bw_help_etable(); }View on GitHub View on Trac