Last active
October 30, 2023 07:54
-
-
Save SiR-DanieL/403eabd0e2ecac4afbc784d8070e3ff6 to your computer and use it in GitHub Desktop.
Disable Enfold Portfolio
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
<?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