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



term_{$field} › Hooks de Filtros WordPress

Desde2.3.0
Obsoleton/a
› apply_filters( "term_{$field}", $value, $term_id, $taxonomy, $context )
Parâmetros: (4)
  • () value Value of the term field.
    Required: Yes
  • () term_id Term ID.
    Required: Yes
  • () taxonomy Taxonomy slug.
    Required: Yes
  • () 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 hook name, `$field`, refers to the term field name.




Fonte

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