WPDev.one
Core Function
View Source on Trac ↗

strip_shortcodes()

strip_shortcodes( mixed $content )

Removes all shortcode tags from the given content.

Parameters 1 required

Name / Type Description
$content
string

Content to remove shortcode tags.

Required

Return Value

(string)
Content without shortcode tags.

Function Information

Since Version
2.5.0
Source File
wp-includes/shortcodes.php
Advertisement