AgilityWeb
1/17/2018 - 12:39 PM

Divi - Remove Projects

#-----------------------------------------------------------------#
# REMOVE PROJECTS
#-----------------------------------------------------------------#
function delete_post_type(){ 
    unregister_post_type( 'project' );	
	unregister_taxonomy( 'project_category' );	
	unregister_taxonomy( 'project_tag' );	
}
add_action('init','delete_post_type', 15);