Description
Example hook for [bw_table] shortcode
Usage
bw_table__example( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_table –
Returns
voidSource
File name: oik/shortcodes/oik-table.phpLines:
1 to 8 of 8
function bw_table__example( $shortcode="bw_table" ) { $text = "To display a table of the 4 most recent posts" ; $example = 'post_type="post" orderby="post_date" order=DESC numberposts=4'; // oops it went into a loop! //bw_invoke_shortcode( $shortcode, $example, $text ); /* translators: %s: shortcode name */ BW_::p( sprintf( __( 'No example for %1$s', "oik" ) , $shortcode ) ); }View on GitHub View on Trac
Called by
1 to 2 of 2
