Support

Account

Home Forums ACF PRO Hiding content editor with WordPress 5 Reply To: Hiding content editor with WordPress 5

  • You can use:
    add_action( ‘init’, function() {
    remove_post_type_support( ‘post’, ‘editor’ );
    remove_post_type_support( ‘page’, ‘editor’ );
    }, 99);

    See