You appear to be a bot. Output may be restricted
Description
Return the shortcode's callback functionFor functions registered using bw_add_shortcode() the callback function will be bw_shortcode_event. This won't be unique so we then try to find the actual function passed. @see bw_get_shortcode_function()
Usage
$mixed = bw_get_shortcode_callback( $shortcode );
Parameters
- $shortcode
- ( string ) required – the shortcode tag
Returns
mixed the registered callback functionSource
File name: oik/shortcodes/oik-codes.phpLines:
1 to 6 of 6
function bw_get_shortcode_callback( $shortcode ) { global $shortcode_tags; $callback = bw_array_get( $shortcode_tags, $shortcode, null ); //bw_trace2( $callback, "shortcode callback" ); return( $callback ); }View on GitHub View on Trac