manage_plugins_custom_column
Fires inside each custom column of the Plugins list table.
Usage
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(string)
- Name of the column.
- $plugin_file(string)
- Path to the plugin file relative to the plugins directory.
- $plugin_data(array)
- An array of plugin data. See get_plugin_data() and the {@see 'plugin_row_meta'} filter for the list of possible values.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
manage_plugins_custom_column
wp-admin/includes/class-wp-plugins-list-table.php 1404
do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data );