Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Removing Custom Post Types in WordPress. This example removes the Orbit Custom Post Type from the Cornerstone WordPress starter theme. You would include it the functions.php of your child theme.
add_action( 'after_setup_theme','remove_cornerstone_features', 100 );
function remove_cornerstone_features() {
remove_action( 'init', 'Orbit');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment