Created
April 4, 2016 08:36
-
-
Save nicolabavaro/307981365280702cb9ec7e00c608a9af to your computer and use it in GitHub Desktop.
Remove Content Editor on Product Editor Page
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_product_editor() { | |
remove_post_type_support( 'product', 'editor' ); | |
} | |
add_action( 'init', 'remove_product_editor' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment