after_plugin_row

动作钩子


do_action( 'after_plugin_row', $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 1336
引入
5.5.0
弃用

在插件列表表的每一行之后触发。

do_action( 'after_plugin_row', $plugin_file, $plugin_data, $status );