Created
July 9, 2015 11:41
-
-
Save amielucha/f903d0d80cbbd83f9fe2 to your computer and use it in GitHub Desktop.
WP-Types: disable content template
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
// WP-Types: disable content template | |
function types_remove_template_selector() { | |
remove_meta_box( 'views_template', 'post', 'side' ); | |
remove_meta_box( 'views_template', 'page', 'side' ); | |
} | |
add_action( 'admin_head', 'types_remove_template_selector', 20); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment