How to add_filter ONLY only if shortcode exists
-
I have programmed a short-code plug-in that also needs the post wpautop disabled but I want the wpautop to be disabled ONLY is the short-code is actually used in the post.
Can someone help me out with this,, I can’t seem to figure it out.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add_filter ONLY only if shortcode exists’ is closed to new replies.