You appear to be a bot. Output may be restricted
Description
Implement syntax hook for the bw_css shortcodeThe shortcode is expected to be coded as [bw_css]<i>Internal CSS rules</i>[/bw_css] If you want the CSS to be passed through GeSHi and output to the page then this is indicated using a parameter. A simple . will cause the CSS to be echoed. Anything other than . which could be as text="echo this text" or just "echo this text" will be echoed before the CSS.
Usage
bw_css__syntax( $shortcode );
Parameters
- $shortcode
- ( mixed ) optional default: bw_css –
Returns
voidSource
File name: oik-css/shortcodes/oik-css.phpLines:
1 to 6 of 6
function bw_css__syntax( $shortcode="bw_css" ) { $syntax = array( "." => BW_::bw_skv( null, "<i>". __( "any", "oik-css" ) . "</i>", __( "Display the CSS", "oik-css" ) ) , "text" => BW_::bw_skv( null, "<i>". __( "any", "oik-css" ) . "</i>", __( "Display the CSS with this annotation", "oik-css" ) ) ); return( $syntax ); }View on GitHub View on Trac