Created
November 12, 2019 14:14
-
-
Save lukecav/0621c20eea752d2078aa94d0e5a8655c to your computer and use it in GitHub Desktop.
Remove Yoast SEO metabox on products in WooCommerce
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
function remove_yoast_metabox_product(){ | |
remove_meta_box('wpseo_meta', 'product', 'normal'); | |
} | |
add_action( 'add_meta_boxes', 'remove_yoast_metabox_product',11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.stackexchange.com/questions/108707/can-yoast-seo-fields-be-removed-from-custom-post-type
https://docs.woocommerce.com/document/installed-taxonomies-post-types/