theme_install_actions

过滤钩子
apply_filters( 'theme_install_actions', $actions, $theme )
参数
  • (string[]) $actions An array of theme action links. Defaults are links to Install Now, Preview, and Details.
    Required:
  • (stdClass) $theme An object that contains theme data returned by the WordPress.org API.
    Required:
定义位置
相关勾子
theme_action_linksplugin_install_action_linksmedia_row_actionstheme_templatestheme_file_path
相关方法
remove_all_actionswp_get_installed_translationsremove_allowed_optionsthe_post_navigationwp_install_defaultsthe_post_thumbnail_caption
引入
3.4.0
弃用
-

theme_install_actions是一个WordPress过滤钩子,它允许开发者在WordPress管理区的主题安装页面的可用操作列表中添加额外的操作。

过滤安装主题列表表中的主题的安装动作链接。

$actions = apply_filters( 'theme_install_actions', $actions, $theme );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-07 06:33:36

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: