after_plugin_row_{$plugin_file} WordPress Action Hook

The "after_plugin_row_{$plugin_file}" hook is used to make changes to the plugin row after it has been displayed. This hook is useful for adding links or messages to the plugin row.

do_action( "after_plugin_row_{$plugin_file}", string $plugin_file, array $plugin_data, string $status ) #

Fires after each specific row in the Plugins list table.


Description

The dynamic portion of the hook name, $plugin_file, refers to the path to the plugin file, relative to the plugins directory.


Top ↑

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