

if( !function_exists( 'plugin_prefix_unregister_post_type' ) ) {
function plugin_prefix_unregister_post_type(){
unregister_post_type( 'project' );
}
}
add_action('init','plugin_prefix_unregister_post_type');
if( !function_exists( 'plugin_prefix_unregister_post_type' ) ) {
function plugin_prefix_unregister_post_type(){
unregister_post_type( 'project' );
}
}
add_action('init','plugin_prefix_unregister_post_type');
if( !function_exists( 'plugin_prefix_unregister_post_type' ) ) { function plugin_prefix_unregister_post_type(){ unregister_post_type( 'project' ); } } add_action('init','plugin_prefix_unregister_post_type');