title: hide plugins menu wordpress dashboard
body: <p>I am trying to make a custom dashboard for a customer.</p>
  
  <p>I would like to hide every plugin menu appearing in the dashboard. So far I could hide just wordpress seo adding this code to functions.php:</p>
  
  <pre><code>function hide_yoastseo() {
      remove_action('admin_bar_menu', 'wpseo_admin_bar_menu',95);
      remove_menu_page('wpseo_dashboard');
  }
  add_action( 'admin_init', 'hide_yoastseo');
  </code></pre>
  
  <p>However I do not understand the logical here to aplly others plugins.</p>