Last active
September 11, 2023 23:57
-
-
Save Acephalia/ea44757cf753c47749def54d11dd2a41 to your computer and use it in GitHub Desktop.
Divi Remove Projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Remove Divi Projects Post Type | |
add_action( 'init', 'remove_divi_project_post_type' ); | |
if ( ! function_exists( 'remove_divi_project_post_type' ) ) { | |
function remove_divi_project_post_type(){ | |
unregister_post_type( 'project' ); | |
unregister_taxonomy( 'project_category' ); | |
unregister_taxonomy( 'project_tag' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment