• Resolved MarioQuartz

    (@marioquartz)


    I have enabled classic editor, gutenber is not installed and this code is added to functions.php

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_content', 'wp_autop' );
    remove_filter( 'the_content', 'shortcode_autop' );
    add_filter( 'the_content', 'shortcode_unautop', 100 );

    “wpautop” not work
    “wp_autop” either

    The “autop” is broking a shortcode from my plugin and other plugins.

    how disable “autop”?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘i can not disable “wp_autop”’ is closed to new replies.