Possible to disable autop temporarily? August 28, 2022 by Tarik Billa yes, you can deactivate the autop for shortcode via filter add_filter( 'the_content', 'shortcode_unautop' );