Forked from atomtigerzoo/wordpress-disable-yoast-seo-on-custom-post-type.php
Created
June 29, 2018 12:29
-
-
Save jessor/0ace1cc5386c9bd9ded62bc8f59c8f60 to your computer and use it in GitHub Desktop.
Wordpress: Disable Yoast SEO on Custom Post Type
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
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