install_theme_complete_actions

过滤钩子
apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info )
参数
  • (string[]) $install_actions Array of theme action links.
    Required:
  • (object) $api Object containing WordPress.org API theme data.
    Required:
  • (string) $stylesheet Theme directory name.
    Required:
  • (WP_Theme) $theme_info Theme object.
    Required:
定义位置
相关勾子
install_theme_overwrite_actionsinstall_plugin_complete_actionsupdate_theme_complete_actionsupdate_bulk_theme_complete_actionsinstall_theme_overwrite_comparison
相关方法
install_theme_informationinstall_themes_feature_listinstall_themes_uploadget_the_comments_navigationget_the_comments_paginationprint_embed_comments_button
引入
2.8.0
弃用
-

install_theme_complete_actions: 当一个主题在WordPress管理面板中成功安装时,这个动作就会触发。

过滤单个主题安装后可用的操作链接列表。

$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );

常见问题

FAQs
查看更多 >