Created
March 28, 2017 12:42
-
-
Save Hotfirenet/f51de42823cb865d9a31e2724e4c8c8b to your computer and use it in GitHub Desktop.
suppression de la metabox yoast seao sur un custom post type sur wordpress, remove yoast metabox for one custom post type on wordpress
This file contains 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
#suppression de la metabox yoast seao sur un custom post type | |
add_action( 'add_meta_boxes', function() { | |
remove_meta_box('wpseo_meta', 'mycustomposttype', 'normal'); | |
},11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment