Skip to content

Instantly share code, notes, and snippets.

@tjhole
Created November 29, 2013 15:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjhole/7707360 to your computer and use it in GitHub Desktop.
Save tjhole/7707360 to your computer and use it in GitHub Desktop.
WORDPRESS: Hide ACF via CSS in admin area
// 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