You appear to be a bot. Output may be restricted
Description
Return default syntax for this shortcodeOriginally this returned "oik doesn't know about this shortcode's syntax: ". $shortcode but this was changed to support the AJAX interface It has now been extended to invoke filters which enable plugins to return the syntax IF they don't support the $shortcode__syntax() dynamic hook method.
Usage
$array = _sc__syntax( $shortcode );
Parameters
- $shortcode
- ( string ) optional default: bw_code –
Returns
array $syntax arraySource
File name: oik/libs/oik-sc-help.phpLines:
1 to 5 of 5
function _sc__syntax( $shortcode="bw_code" ) { $syntax = null; $syntax = apply_filters( "_sc__syntax", $syntax, $shortcode ); return( $syntax ); }View on GitHub View on Trac