plugin_install_action_links

过滤钩子


apply_filters( 'plugin_install_action_links', $action_links, $plugin )
参数
  • (string[])
    $action_links
    An array of plugin action links.
    Defaults are links to Details and Install Now.
    Required:
  • (array)
    $plugin
    An array of plugin data. See {@see plugins_api()}
    for the list of possible values.
    Required:
定义位置
  • wp-admin/includes/class-wp-plugin-install-list-table.php
    , line 680
引入
2.7.0
弃用

Filters the install action links for a plugin.

$action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );