Does it exist something similar to no_texturize_shortcodes for wpautoup? Something like no_wpautop_shortcodes?

I've found already:

this solution https://github.com/chiedolabs/shortcode-wpautop-control has a problem with Adinjection

I've also found this solution: https://bnks.xyz/resolving-wpautop-and-shortcodes/

Another solution I found is this custom user code

I've also read here (Remove wpautop from shortcode content / remove whitespace in buffering) that there is a shortcode_unautop wordpress native function, but it doesn't seem to output the raw content of the shortcode.

From the documentation:

Don’t auto-p wrap shortcodes that stand alone

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.