wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



term_{$field} › Filtr WordPress Hooks

Od2.3.0
Przestarzałyn/a
› apply_filters( "term_{$field}", $value, $term_id, $taxonomy, $context )
Parametry: (4)
  • () value Value of the term field.
    Wymagane: Tak
  • () term_id Term ID.
    Wymagane: Tak
  • () taxonomy Taxonomy slug.
    Wymagane: Tak
  • () context Context to retrieve the term field value.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the term field sanitized for display.

The dynamic portion of the hook name, `$field`, refers to the term field name.




Źródło

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