Support » Plugin: Contact Form 7 » Disable WPCF7_AUTOP via filter

  • Resolved Ion Burdianov

    (@burdianov)


    Please add Disable autop via filter, i’am wait 3 years that function.
    define(‘WPCF7_AUTOP’, false); this code must be in wp-config.php, this is core file.
    I always need disable autop in my theme, but its not posible.
    Please add this filter like for js or css.
    Something like this:
    function wpcf7_autop() {
    return apply_filters( ‘wpcf7_autop’, WPCF7_AUTOP );
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable WPCF7_AUTOP via filter’ is closed to new replies.