Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1465207

    is it possible to hide this text, it’s making the add menu items metabox too cluttered
    screenshot

    #1465208

    put this into your child-theme functions.php

    it will remove the status from all standard post types – but leave it for important post states ( password protected, privacy etc. )

    function remove_post_state( $post_states, $post ) {
      if("! has_blocks( $post->ID )") {unset($post_states['wp_editor']);}
      if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {unset($post_states['avia_alb']);}
    return $post_states;
    }
    add_filter('display_post_states','remove_post_state',999,2);
    #1465211

    that is perfect – many thanks Guenni007

    #1465213

    Hi,

    Great, I’m glad that @guenni007 could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1465378

    happy for you to close it Rikard – can I do that at all? save you having to…

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘hide “— Advanced Layout Builder” text under appearance / menus’ is closed to new replies.