wpseek.com
A WordPress-centric search engine for devs and theme authors



apply_shortcodes › WordPress Function

Since5.4.0
Deprecatedn/a
apply_shortcodes ( $content, $ignore_html = false )
Parameters: (2)
  • (string) $content Content to search for shortcodes.
    Required: Yes
  • (bool) $ignore_html When true, shortcodes inside HTML elements will be skipped. Default false.
    Required: No
    Default: false
See:
Returns:
  • (string) Content with shortcodes filtered out.
Defined at:
Codex:

Searches content for shortcodes and filter shortcodes through their hooks.

This function is an alias for do_shortcode().


Source

function apply_shortcodes( $content, $ignore_html = false ) {
	return do_shortcode( $content, $ignore_html );
}