Created
March 16, 2018 09:47
-
-
Save certainlyakey/57f4ef4aa2d87ace0a054d14d999328b to your computer and use it in GitHub Desktop.
Disable Custom fields menu item in the admin (Wordpress + ACF)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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