Remove Elementor Menu From WordPress Admin

Question

How to remove elementor from wordpress admin menu. I have tried below option but it didnt work.

add_action( 'admin_menu', 'my_remove_menu_pages' );
function my_remove_menu_pages() {
    remove_menu_page( 'edit.php?post_type=elementor_library' );                   
    //Elementor
};
0
Amit Jugran 5 years 2018-07-10T09:32:42-05:00 0 Answers 98 views 0

Leave an answer

Browse
Browse