Technical Docs

Search Documentation

Function: tribe_normalize_terms_list

Normalizes a list of terms to a list of fields.

Located at src/functions/utils.php (Line: 272)

Parameters summary

() $terms A term or array of terms to normalize.
(string) $taxonomy The terms taxonomy.
(string) $field Teh fields the terms should be normalized to.

Return value summary

(array) An array of the valid normalized terms.


array tribe_normalize_terms_list ( $terms, string $taxonomy, string $field = ’term_id’ )