enter image description here

HI I have I need to Remove Menu Items From Menu Session from the wordpress Theme Customer Below is the Screen shots

I have Try Many Thing but did’nt work just i need to remove Menu items from Menu

function remove_unnessory_item_customizer($wp_customize) {
    $wp_customize->remove_section("themes");
   ///   $wp_customize->remove_section("available-menu-items");

     // $wp_customize->remove_section("content");  
   // $wp_customize->remove_panel("nav_menus");

   $wp_customize->remove_section( 'static_front_page' );
}

add_action('customize_register', 'remove_unnessory_item_customizer', 9999);

Read more here: How to remove menus items from Menu section from WordPress theme customizer


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: