after_plugin_row_{$plugin_file}

动作钩子


do_action( "after_plugin_row_{$plugin_file}", $plugin_file, $plugin_data, $status )
参数
  • (string)
    $plugin_file
    Path to the plugin file relative to the plugins directory.
    Required:
  • (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.
    Required:
  • (string)
    $status
    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’.
    Required:
定义位置
  • wp-admin/includes/class-wp-plugins-list-table.php
    , line 1357
引入
5.5.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.

do_action( "after_plugin_row_{$plugin_file}", $plugin_file, $plugin_data, $status );