Skip to content

Instantly share code, notes, and snippets.

@sbruner
Created June 16, 2016 20:24
Show Gist options
  • Save sbruner/b0a54dcaceea79e93ed1fe5d07e22657 to your computer and use it in GitHub Desktop.
Save sbruner/b0a54dcaceea79e93ed1fe5d07e22657 to your computer and use it in GitHub Desktop.
<?php
function my_custom_init() {
remove_post_type_support( 'post', 'custom-fields' );
}
add_action( 'init', 'my_custom_init' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment