naeemqaswar
4/27/2017 - 12:02 PM

Delete Custom Post

Delete Custom Post

// Put it in functions.php
function delete_post_type(){
    unregister_post_type( 'c_service' );
}
add_action('init','delete_post_type');