Created
December 29, 2017 09:20
-
-
Save sarathlal-old/ed6d07be36fca05506d248fbebd94849 to your computer and use it in GitHub Desktop.
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
# Hide Yoast Meta boxes in unnecessary post type | |
function remove_yoast_metabox_reservations(){ | |
remove_meta_box('wpseo_meta', 'your_post_type', 'normal'); | |
} | |
add_action( 'add_meta_boxes', 'remove_yoast_metabox_reservations',100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment