Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Term snippet

// WP_Term_Query arguments
$args = array(
	'taxonomy'               => array( 'category' ),
	'name'                   => array( 'product-updates' ),
	'include'                => array( 5, 27, 29 ),
	'fields'                 => 'ids',
);

// The Term Query
$term_query = new WP_Term_Query( $args );