after_plugin_row_(plugin_file) action-hook . WP 2.7.0
Fires after each specific row in the Plugins list table.
The dynamic portion of the hook name, $plugin_file, refers to the path to the plugin file, relative to the plugins directory.
Usage
add_action( 'after_plugin_row_(plugin_file)', 'action_function_name_6237', 10, 3 ); function action_function_name_6237( $plugin_file, $plugin_data, $status ){ // action... }
- $plugin_file(string)
- Path to the plugin file relative to the plugins directory.
- $plugin_data(array)
- An array of plugin data.
- $status(string)
- Status filter currently applied to the plugin list. Possible values are: 'all', 'active', 'inactive', 'recently_activated', 'upgrade', 'mustuse', 'dropins', 'search', 'paused', 'auto-update-enabled', 'auto-update-disabled'.
Changelog
Since 2.7.0 | Introduced. |
Since 5.5.0 | Added 'auto-update-enabled' and 'auto-update-disabled' to possible values for $status. |
Where the hook is called
after_plugin_row_(plugin_file)
wp-admin/includes/class-wp-plugins-list-table.php 1224
do_action( "after_plugin_row_{$plugin_file}", $plugin_file, $plugin_data, $status );
Where in WP core the hook is used WordPress
wp-admin/includes/update.php 406
add_action( "after_plugin_row_{$plugin_file}", 'wp_plugin_update_row', 10, 2 );