Enfold Remove Portfolio Items Post Type

, , ,

The following code snippet will remove the “Portfolio Items” post type within the Enfold theme for WordPress.

 

Remove Portfolio Items Post Type

To implement this, simply add the snippet below to your “functions.php” file within the Enfold Child theme for WordPress.

 

REVEAL CODE

/*
** Remove Enfold Portfolio Post Type
*/
add_action( 'after_setup_theme', 'remove_portfolio' );
function remove_portfolio()
{
remove_action( 'init', 'portfolio_register' );
}

 

If this article was helpful please take a moment to like us on Facebook, share this on your social media or buy us a cup of coffee.