Get Taxonomy by Custom Field

Is it possible to use any of those functions get_term_by() / get_term() / get_taxonomy() or anything to get a taxonomy list filtering by a custom field? I can do that with get_posts just adding the following code:

'meta_query'    => array(
                                    'relation'      => 'AND',
                                    array(
                                        'key'       => 'activation_code',
                                        'value'     => '123',
                                        'compare'   => '='
                                    )
                                ),

Thank you!



Source link