Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Last active October 30, 2023 07:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save SiR-DanieL/403eabd0e2ecac4afbc784d8070e3ff6 to your computer and use it in GitHub Desktop.
Disable Enfold Portfolio
<?php
add_action( 'after_setup_theme', 'remove_portfolio' );
function remove_portfolio() {
remove_action( 'init', 'portfolio_register' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment