Thanks for your help.
This code is no longer accepted by reviewers:
$array = array (
'<p>[' => '[',
']</p>' => ']',
']<br />' => ']'
$content = strtr($content, $array);
What do you guys use instead of it?
We use this instead this little nifty function thanks to bitfade:
This is used because you are only using on your shortcodes so that any 3rd party shortcodes are not affected by this which is why the other code is not allowed, because it also effects 3rd party plugins.
Thanks for the link
- 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.