Instantly share code, notes, and snippets.

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