WP_Term_Query search example

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

$term_query = new WP_Term_Query( array(
‘taxonomy’ => ‘your_taxonomy’,
‘search’ => ‘keyword’,
) );

{{/gist}}