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



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

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

Filters the taxonomy field to edit before it is sanitized.

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





Fonte

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