WordPress at Your Fingertips
filter is not described

edit_(taxonomy)_(field) filter-hook . WP 2.3.0

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.


add_filter( 'edit_(taxonomy)_(field)', 'filter_function_name_3321', 10, 2 );
function filter_function_name_3321( $value, $term_id ){
	// filter...

	return $value;
Value of the taxonomy field to edit.
Term ID.


Since 2.3.0 Introduced.

Where the hook is called

wp-includes/taxonomy.php 1674
$value = apply_filters( "edit_{$taxonomy}_{$field}", $value, $term_id );

Where in WP core the hook is used WordPress

wp-admin/edit-form-advanced.php 82
add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
wp-admin/includes/meta-boxes.php 1459
add_action( 'edit_form_after_title', 'edit_form_image_editor' );
wp-includes/class-wp-embed.php 45
add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/class-wp-embed.php 46
add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/default-filters.php 499
add_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );