edit_{$taxonomy}_{$field}

edit_{$taxonomy}_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-includes/taxonomy.php line 1797
    		 *
    		 * @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 );
    		}