Summery Summery
Search content for shortcodes and filter shortcodes through their hooks.
Syntax Syntax
Description Description
This function is an alias for do_shortcode().
Parameters Parameters
- $content
-
(Required) Content to search for shortcodes.
- $ignore_html
-
(Optional) When true, shortcodes inside HTML elements will be skipped.
Default value: false
Return Return
(string) Content with shortcodes filtered out.
Source Source
File: wp-includes/shortcodes.php
function apply_shortcodes( $content, $ignore_html = false ) { return do_shortcode( $content, $ignore_html ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.4.0 | Introduced. |