manage_themes_custom_column хук-событиеWP 3.1.0

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 Введена.

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

WP_MS_Themes_List_Table::column_default()
manage_themes_custom_column
wp-admin/includes/class-wp-ms-themes-list-table.php 896
do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );

Где используется хук в WordPress

Использование не найдено.