install_plugin_overwrite_actions

过滤钩子


apply_filters( 'install_plugin_overwrite_actions', $install_actions, $this->api, $new_plugin_data )
参数
  • (string[])
    $install_actions
    Array of plugin action links.
    Required:
  • (object)
    $api
    Object containing WordPress.org API plugin data.
    Required:
  • (array)
    $new_plugin_data
    Array with uploaded plugin data.
    Required:
定义位置
  • wp-admin/includes/class-plugin-installer-skin.php
    , line 337
引入
5.5.0
弃用

在允许覆盖的情况下,过滤单一插件安装失败后可用的行动链接列表。

$install_actions = apply_filters( 'install_plugin_overwrite_actions', $install_actions, $this->api, $new_plugin_data );