You appear to be a bot. Output may be restricted
Description
Search content for shortcodes and filter shortcodes through their hooks.
If there are no shortcode tags defined, then the content will be returned without any filtering. This might cause issues when plugins are disabled but the shortcode will still show up in the post or content.
Usage
$string = do_shortcode_earlier( $content );
Parameters
- $content
- ( string ) required – Content to search for shortcodes
Returns
string Content with shortcodes expanded
Source
File name: oik-css/includes/shortcodes-earlier.php
Lines:
1 to 13 of 13
function do_shortcode_earlier($content) { global $shortcode_tags; if ( false === strpos( $content, '[' ) ) { return $content; } if (empty($shortcode_tags) || !is_array($shortcode_tags)) return $content; $pattern = get_shortcode_regex(); return preg_replace_callback( "/$pattern/s", 'do_shortcode_tag_earlier', $content ); }