A WordPress-centric search engine for devs and theme authors



edit_{$taxonomy}_{$field} ›

Since2.3.0
Deprecatedn/a
apply_filters( "edit_{$taxonomy}_{$field}", $value, $term_id )
Parameters: (2)
  • (mixed) $value Value of the taxonomy field to edit.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
Defined at:
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.





Source

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