Home Forums ACF PRO Hiding content editor with WordPress 5


Hiding content editor with WordPress 5

  • Hi I’ve just started building a new site and using the new WordPress 5 release. I’ve notice I can no longer hide the “content editor” in the back end. I’m guessing this is because WordPress 5 has changed things some what in the back end!

    Is there a solution to this?



    • AtDCfcc

    • January 5, 2019 at 12:07 am

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


    • gleenk

    • January 8, 2019 at 8:52 pm

    Same problem here, how to hide content editor in WP 5? ACF options is not working @eliot could you implement this -> ?

    • AtDCfcc

    • January 8, 2019 at 9:32 pm

    Just put the above action in your functions.php file, and the content editor will be gone in WP5.

    • gleenk

    • January 8, 2019 at 9:38 pm

    I know it woks but hey shound implement it in ACF!

  • +1

  • This is one of the issues that Elliot is working on for 5.8, this was the main issue asked and there are several other issues linked from it I don’t know the status of it though.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.