Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



edit_{$taxonomy}_{$field} ›

Seit2.3.0
Veraltetn/v
apply_filters( "edit_{$taxonomy}_{$field}", $value, $term_id )
Parameter: (2)
  • (mixed) $value Value of the taxonomy field to edit.
    Erforderlich: Ja
  • (int) $term_id Term ID.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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