edit_{$taxonomy}_{$field}

edit_{$taxonomy}_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('edit_{$taxonomy}_{$field}') is found 1 times:

  • /wp-includes/taxonomy.php line 1797
    1793
    1794
    1795
    1796
    1797
    1798
    1799
    1800
    1801
    1802
    1803
    *
     * @param mixed $value   Value of the taxonomy field to edit.
     * @param int   $term_id Term ID.
     */
    $value = apply_filters( "edit_{$taxonomy}_{$field}", $value, $term_id );
     
    if ( 'description' === $field ) {
        $value = esc_html( $value ); // textarea_escaped
    } else {
        $value = esc_attr( $value );
    }