Hi, is there a way to remove the unwanted paragraphs from the shortcodes, that is compatible with the new Phase?I know that modified wpautop and this is not permitted anymore:
$array = array ( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); $content = strtr($content, $array); return $content;
Can somebody share a code snipped that can get the job done. Thanks!
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.