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



pre_term_{$field} ›

Desde2.3.0
Obsoleton/a
apply_filters( "pre_term_{$field}", $value, $taxonomy )
Parâmetros: (2)
  • (mixed) $value Value of the term field.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
Definido em:
Codex:

Filters a term field value before it is sanitized.

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





Fonte

$value = apply_filters( "pre_term_{$field}", $value, $taxonomy );