Disable the plugins tab in WP admin?

Tell me what function can it be done?
June 14th 19 at 19:14
2 answers
June 14th 19 at 19:16
in functions.php

add_action( 'admin_menu', 'my_remove_menu_pages' );
my_remove_menu_pages function() {
 your('plugins.php'); 
}
June 14th 19 at 19:18

Find more questions by tags WordPress