Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

get sources term with name cf_section

// WP_Term_Query arguments
$args = array(
	'taxonomy'               => array( 'sources' ),
	'name'                   => array( '$cf_section' ),
	'hierarchical'           => true,
	'childless'              => false,
	'fields'                 => 'id=>slug',
	'get'                    => 'all',
);

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