edit_term_{$field}

edit_term_{$field}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('edit_term_{$field}') is found 1 times:

  • /wp-includes/taxonomy.php line 1784
    1780
    1781
    1782
    1783
    1784
    1785
    1786
    1787
    1788
    1789
    1790
    * @param mixed $value     Value of the term field.
     * @param int   $term_id   Term ID.
     * @param string $taxonomy Taxonomy slug.
     */
    $value = apply_filters( "edit_term_{$field}", $value, $term_id, $taxonomy );
     
    /**
     * 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.