shortcode_unautop
shortcode_unautop ( $text )
Parameters:- (string) text The content.
Returns:- (string) The filtered content.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Don't auto-p wrap shortcodes that stand alone.Ensures that shortcodes are not wrapped in `
...
`.