Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

MV WP_Term_Query Generator

MV

// WP_Term_Query arguments
$args = array(
	'taxonomy'               => array( 'programming-category' ),
	'order'                  => 'ASC',
	'orderby'                => 'name',
	'pad_counts'             => true,
	'fields'                 => 'all',
	'hide_empty'             => true,
	'get'                    => 'all',
);

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

// The Loop
if ( ! empty( $term_query ) && ! is_wp_error( $term_query ) ) {
	// do something
} else {
	// no terms found
}