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



{$taxonomy}_{$field} › Hooks de Filtros WordPress

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

Filters the taxonomy field sanitized for display.

The dynamic portions of the filter name, $taxonomy, and $field, refer to the taxonomy slug and taxonomy field, respectively.





Fonte

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