You appear to be a bot. Output may be restricted
Description
Add some content before other 'the_content' filtering is performedFor an oik_sc_param we want to display:
- Fields
Usage
$string = oiksc_the_post_oik_sc_param( $post );
Parameters
- $post
- ( post ) required –
Returns
string additional contentSource
File name: oik-shortcodes/oik-shortcodes.phpLines:
1 to 10 of 10
function oiksc_the_post_oik_sc_param( $post ) { if ( false === strpos( $post->post_content, "[") ) { $additional_content = "<!--more-->"; //$additional_content .= "[bw_fields]"; $additional_content .= "[bw_code name=.]"; } else { $additional_content = null; } return( $additional_content ); }View on GitHub