apply_shortcodes


apply_shortcodes ( $content, $ignore_html = false )

Parameters:
  • (string) content Content to search for shortcodes.
  • (bool) ignore_html When true, shortcodes inside HTML elements will be skipped. Default false.
See:
Returns:
  • (string) Content with shortcodes filtered out.
Defined at:

Description

Search content for shortcodes and filter shortcodes through their hooks.This function is an alias for do_shortcode().

Related Functions

gallery_shortcode, add_shortcode, wp_playlist_shortcode, has_shortcode, strip_shortcodes

Top Google Results

User discussions

wpseek mobile