AI Verified

Name

Divi - Disable Project CPT and Taxonomy

Language

PHP

Rating

Voted: 0 by 0 user(s)

Codevault

ActionSkills

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: Not Specified

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

Website/ Profile URL:

https://actionskills.co

History

Last modified:

13/12/2023

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Divi - Disable Project CPT and Taxonomy

 
                    
1function actionskills_deregister_post_type(){
2 unregister_post_type( 'project' );
3 unregister_taxonomy( 'project_category');
4 unregister_taxonomy( 'project_tag');
5}
6add_action('init','actionskills_deregister_post_type');

0

Related Snippets

Please see some snippets below related to this snippet..

Divi Builder

Unverified

0

Mobile Menu – Replace Hamburger Menu with Text

Added: 6 months ago

Last Updated: 2 days ago

Change mobile menu from Hamburger to Text that shows open and close

Divi Builder

AI Verified

0

Disable the Elegant Themes buttons from the TinyMCE editor

Added: 8 months ago

Last Updated: 7 months ago

This snippet removes the custom Divi icons/buttons from the TinyMCE WYSIWYG editor/toolbar. These are the ET Learn Block, ET Box, ET Button, ET Tabs and Author Bio.

Divi Builder

Unverified

0

Style "edit profile" and "log out" links in the Divi comments section

Added: 7 months ago

Last Updated: 7 months ago

By default, the links in the Divi comment area are set as the Theme Accent Colour (found in Appearance → Customise → General Settings → Layout Settings). This can be problematic when the background co...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

General

AI Verified

0

Disable Comments

Added: 6 months ago

Last Updated: 5 months ago

General

AI Verified

0

Remove tag and category taxonomy

Added: 6 months ago

Last Updated: 6 months ago

Divi Builder

AI Verified

0

Divi - Disable Project CPT and Taxonomy

Added: 6 months ago

Last Updated: 6 months ago