Tagged: advanced layout builder, Dashboard, Hide, menu
is it possible to hide this text, it’s making the add menu items metabox too cluttered
screenshot
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);
that is perfect – many thanks Guenni007
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
happy for you to close it Rikard – can I do that at all? save you having to…