WPDev.one
Core Function
View Source on Trac ↗

shortcode_unautop()

shortcode_unautop( mixed $text )

Don't auto-p wrap shortcodes that stand alone.

Parameters 1 required

Name / Type Description
$text
string

The content.

Required

Return Value

(string)
The filtered content.

Function Information

Since Version
2.9.0
Source File
wp-includes/formatting.php
Advertisement