install_theme_complete_actions
apply_filters( ‘install_theme_complete_actions’, string[] $install_actions , object $api , string $stylesheet , WP_Theme $theme_info )
过滤器::过滤单个主题安装后可用的操作链接列表。
Filter Hook: Filters the list of action links available following a single theme installation.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$install_actions | (string[]) | 主题动作链接的数组。 |
$api | (object) | 对象包含WordPress.org网站API主题数据。 |
$stylesheet | (string) | 主题目录名。 |
$theme_info | (WP_Theme) | 主题对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-admin/includes/class-theme-installer-skin.php:145 | 1 | 0 |
install_theme_complete_actions 为WP2原创文章,链接:https://www.wp2.cn/hook/install_theme_complete_actions/