title: How to remove the Custom Fields menu?
body: <p>I use the <code>Advanced Custom Fields</code> plugin, but I want to remove the menu <code>Custom Fields</code>. </p>
  
  <p><a href="https://i.stack.imgur.com/A795q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A795q.png" alt="enter image description here"></a></p>
  
  <p>The code is the following:</p>
  
  <pre><code>add_filter('admin_menu', function() {
      remove_menu_page('edit.php?post_type=acf');
  });
  </code></pre>
  
  <p>But it doesn't work. Is there something wrong, or does anyone know a method to solve my problem?</p>