Action hook 'manage_plugins_custom_column'

in WP Core File wp-admin/includes/class-wp-plugins-list-table.php at line 1404

View Source

manage_plugins_custom_column

Action Hook
Description
Fires inside each custom column of the Plugins list table.

Hook Information

File Location wp-admin/includes/class-wp-plugins-list-table.php View on GitHub
Hook Type Action
Line Number 1404

Hook Parameters

Type Name Description
string $column_name Name of the column.
string $plugin_file Path to the plugin file relative to the plugins directory.
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.

Usage Examples

Basic Usage
<?php
// Hook into manage_plugins_custom_column
add_action('manage_plugins_custom_column', 'my_custom_function', 10, 3);

function my_custom_function($column_name, $plugin_file, $plugin_data) {
    // Your custom code here
}

Source Code Context

wp-admin/includes/class-wp-plugins-list-table.php:1404 - How this hook is used in WordPress core
<?php
1399  					 * @param string $plugin_file Path to the plugin file relative to the plugins directory.
1400  					 * @param array  $plugin_data An array of plugin data. See get_plugin_data()
1401  					 *                            and the {@see 'plugin_row_meta'} filter for the list
1402  					 *                            of possible values.
1403  					 */
1404  					do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data );
1405  
1406  					echo '</td>';
1407  			}
1408  		}
1409  

PHP Documentation

<?php
/**
					 * Fires inside each custom column of the Plugins list table.
					 *
					 * @since 3.1.0
					 *
					 * @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.
					 */
Quick Info
  • Hook Type: Action
  • Parameters: 3
  • File: wp-admin/includes/class-wp-plugins-list-table.php
Related Hooks

Related hooks will be displayed here in future updates.