Skip to content

Instantly share code, notes, and snippets.

@certainlyakey
Created March 16, 2018 09:47
Show Gist options
  • Save certainlyakey/57f4ef4aa2d87ace0a054d14d999328b to your computer and use it in GitHub Desktop.
Save certainlyakey/57f4ef4aa2d87ace0a054d14d999328b to your computer and use it in GitHub Desktop.
Disable Custom fields menu item in the admin (Wordpress + ACF)
<?php
// Disable "Custom fields" menu in admin
add_filter('acf/settings/show_admin', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment