Uses
Uses | Description |
---|---|
wp-includes/shortcodes.php: do_shortcode() | Search content for shortcodes and filter shortcodes through their hooks. |
Search content for shortcodes and filter shortcodes through their hooks.
This function is an alias for do_shortcode().
(string) (Required) Content to search for shortcodes.
(bool) (Optional) When true, shortcodes inside HTML elements will be skipped.
Default value: false
(string) Content with shortcodes filtered out.
File: wp-includes/shortcodes.php
function apply_shortcodes( $content, $ignore_html = false ) { return do_shortcode( $content, $ignore_html ); }
Version | Description |
---|---|
5.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/apply_shortcodes