Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessor/0ace1cc5386c9bd9ded62bc8f59c8f60 to your computer and use it in GitHub Desktop.
Save jessor/0ace1cc5386c9bd9ded62bc8f59c8f60 to your computer and use it in GitHub Desktop.
Wordpress: Disable Yoast SEO on Custom Post Type
function my_remove_wp_seo_meta_box() {
remove_meta_box('wpseo_meta', YOUR_POST_TYPE_NAME_HERE, 'normal');
}
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment