creativecollab

Remove Custom Post Type

Aug 6th, 2014
193
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function remove_parent_theme_features() {
  2.    
  3. // Remove Custom Post Types
  4. remove_action( 'init', 'mo_register_pricing_post_type' );
  5.    
  6. }
  7. add_action( 'after_setup_theme', 'remove_parent_theme_features', 10);
RAW Paste Data