Uma área de pesquisa sobre o WordPress para devs e autores do tema



term_{$field} ›

Desde2.3.0
Obsoleton/a
apply_filters( "term_{$field}", $value, $term_id, $taxonomy, $context )
Parâmetros: (4)
  • (mixed) $value Value of the term field.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (string) $context Context to retrieve the term field value.
    Required: Yes
Definido em:
Codex:

Filters the term field sanitized for display.

The dynamic portion of the filter name, $field, refers to the term field name.





Fonte

$value = apply_filters( "term_{$field}", $value, $term_id, $taxonomy, $context );