manage_taxonomies_for_(post_type)_columns хук-фильтр . WP 3.5.0
Filters the taxonomy columns in the Posts list table.
The dynamic portion of the hook name, $post_type, refers to the post type slug.
Использование
add_filter( 'manage_taxonomies_for_(post_type)_columns', 'filter_function_name_1071', 10, 2 ); function filter_function_name_1071( $taxonomies, $post_type ){ // filter... return $taxonomies; }
- $taxonomies(строка[])
- Array of taxonomy names to show columns for.
- $post_type(строка)
- The post type.
Список изменений
С версии 3.5.0 | Введена. |
Где вызывается хук
manage_taxonomies_for_(post_type)_columns
wp-admin/includes/class-wp-posts-list-table.php 639
$taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type );