manage_themes_custom_column
Fires inside each custom column of the Multisite themes list table.
Использование
add_action( 'manage_themes_custom_column', 'wp_kama_manage_themes_custom_column_action', 10, 3 );
/**
* Function for `manage_themes_custom_column` action-hook.
*
* @param string $column_name Name of the column.
* @param string $stylesheet Directory name of the theme.
* @param WP_Theme $theme Current WP_Theme object.
*
* @return void
*/
function wp_kama_manage_themes_custom_column_action( $column_name, $stylesheet, $theme ){
// action...
}
- $column_name(строка)
- Name of the column.
- $stylesheet(строка)
- Directory name of the theme.
- $theme(WP_Theme)
- Current WP_Theme object.
Список изменений
| С версии 3.1.0 | Введена. |
Где вызывается хук
manage_themes_custom_column
wp-admin/includes/class-wp-ms-themes-list-table.php 907
do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );