shortcode_unautop


shortcode_unautop ( $pee )

Parameters:
  • (string) $pee The content.
Returns:
  • (string) The filtered content.
Defined at:

Description

Don't auto-p wrap shortcodes that stand alone

Ensures that shortcodes are not wrapped in <p>...</p>.

Related Functions

shortcode_atts, shortcode_exists, do_shortcode_tag, do_shortcode, strip_shortcode_tag

Top Google Results

User discussions

wpseek mobile