apply_shortcodes

SummerySummery

Search content for shortcodes and filter shortcodes through their hooks.

Syntax

apply_shortcodes( string $content, bool $ignore_html = false )

DescriptionDescription

This function is an alias for do_shortcode().

ParametersParameters

$content

(string) (Required) Content to search for shortcodes.

$ignore_html

(bool) (Optional) When true, shortcodes inside HTML elements will be skipped.

Default value: false

ReturnReturn

(string) Content with shortcodes filtered out.

SourceSource

File: wp-includes/shortcodes.php


			

ChangelogChangelog

Changelog
Version Description
5.4.0 Introduced.

See alsoSee also

Scroll to Top