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

Fires inside each custom column of the Plugins list table.

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

add_action( 'manage_plugins_custom_column', 'wp_kama_manage_plugins_custom_column_action', 10, 3 );

/**
 * Function for `manage_plugins_custom_column` action-hook.
 * 
 * @param string $column_name Name of the column.
 * @param string $plugin_file Path to the plugin file relative to the plugins directory.
 * @param array  $plugin_data An array of plugin data. See get_plugin_data() and the {@see 'plugin_row_meta'} filter for the list of possible values.
 *
 * @return void
 */
function wp_kama_manage_plugins_custom_column_action( $column_name, $plugin_file, $plugin_data ){

	// action...
}
$column_name(строка)
Name of the column.
$plugin_file(строка)
Path to the plugin file relative to the plugins directory.
$plugin_data(массив)
An array of plugin data. See get_plugin_data() and the {@see 'plugin_row_meta'} filter for the list of possible values.

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

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

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

WP_Plugins_List_Table::single_row()
manage_plugins_custom_column
wp-admin/includes/class-wp-plugins-list-table.php 1273
do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data );

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

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