after_plugin_row WordPress Action Hook

The after_plugin_row hook is called after a plugin's row is printed in the plugins list table. It can be used to add new rows after the plugin's row, or to modify the existing row.

do_action( 'after_plugin_row', string $plugin_file, array $plugin_data, string $status ) #

Fires after each row in the Plugins list table.


Parameters

$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 'plugin_row_meta' filter for the list of possible values.

$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'.


Top ↑

Source

File: wp-admin/includes/class-wp-plugins-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Added 'auto-update-enabled' and 'auto-update-disabled' to possible values for $status.
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.