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管理面板中成功安裝時,這個動作就會觸發。

過濾單個主題安裝後可用的操作連結列表。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );
$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );
$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );

常見問題

FAQs
檢視更多 >