Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Created May 24, 2018 10:59
  • 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
Embed
What would you like to do?
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