You appear to be a bot. Output may be restricted
Description
Example hook for [bw_link] shortcode
Usage
bw_link__example( $shortcode );
Parameters
- $shortcode
- ( mixed ) optional default: bw_link –
Returns
voidSource
File name: oik/shortcodes/oik-link.phpLines:
1 to 7 of 7
function bw_link__example( $shortcode="bw_link" ) { $id = _bw_get_an_id(); /* translators: %s: post ID */ $text = sprintf( __( 'Example: Display a link to post with ID=%1$s', "oik" ), $id ); $example = $id; bw_invoke_shortcode( $shortcode, $example, $text ); }View on GitHub View on Trac