manage_sites_custom_column хук-событие . WP 3.1.0
Fires for each registered custom column in the Sites list table.
Использование
add_action( 'manage_sites_custom_column', 'action_function_name_5934', 10, 2 ); function action_function_name_5934( $column_name, $blog_id ){ // action... }
- $column_name(строка)
- The name of the column to display.
- $blog_id(число)
- The site ID.
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
manage_sites_custom_column
wp-admin/includes/class-wp-ms-sites-list-table.php 576
do_action( 'manage_sites_custom_column', $column_name, $blog['blog_id'] );