Created
November 29, 2013 15:32
-
-
Save tjhole/7707360 to your computer and use it in GitHub Desktop.
WORDPRESS: Hide ACF via CSS in admin area
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
// Editing the WordPress Dashboard Header | |
function wp_admin_dashboard_header_colour() { | |
echo '<style type="text/css"> | |
#toplevel_page_edit-post_type-acf { display:none; } | |
</style>'; | |
} | |
add_action('admin_head', 'wp_admin_dashboard_header_colour'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment