Snippets: Remove Portfolio Category and Tag Descriptions

function myprefix_remove_portfolio_category_description( $subheading ) {
	if ( is_tax( 'portfolio_category' ) || is_tax( 'portfolio_tag' ) ) {
		return false;
	}
	return $subheading;
}
add_filter( 'wpex_post_subheading', 'myprefix_remove_portfolio_category_description' );
All PHP snippets should be added via a child theme's functions.php file.