WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

edit_(taxonomy)_(field) хук-фильтр . 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_2467', 10, 2 );
function filter_function_name_2467( $value, $term_id ){
	// filter...

	return $value;
}
$value(смешанный)
Value of the taxonomy field to edit.
$term_id(число)
Term ID.

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

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

Где используется хук (в ядре WP)

wp-admin/edit-form-advanced.php 78
add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
wp-admin/includes/meta-boxes.php 1407
add_action( 'edit_form_after_title', 'edit_form_image_editor' );
wp-includes/class-wp-embed.php 43
add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/class-wp-embed.php 44
add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/default-filters.php 444
add_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );