主题"页面中显示特定主题的信息行后被触发。参数$stylesheet是主题样式表文件的名称。开发" />

after_theme_row_{$stylesheet}

动作钩子
do_action( "after_theme_row_{$stylesheet}", $stylesheet, $theme, $status )
参数
  • (string) $stylesheet Directory name of the theme.
    Required:
  • (WP_Theme) $theme Current WP_Theme object.
    Required:
  • (string) $status Status of the theme.
    Required:
定义位置
相关勾子
after_theme_rowtheme_action_links_stylesheettheme_row_metaupdate_themes_hostnamewp_sitemaps_stylesheet_url
相关方法
get_stylesheetget_editor_stylesheets_preview_theme_stylesheet_filterget_theme_rootsget_locale_stylesheet_uriget_stylesheet_uri
引入
3.5.0
弃用
-

after_theme_row_{$stylesheet}: 这是一个钩子,在WordPress”外观>主题”页面中显示特定主题的信息行后被触发。参数$stylesheet是主题样式表文件的名称。开发人员可以使用这个钩子来添加额外的信息或数据到主题行。

在多站点主题列表表中的每一行之后触发。

钩子名称的动态部分,$stylesheet,指的是主题的目录名称,最常与主题的模板名称同义。

do_action( "after_theme_row_{$stylesheet}", $stylesheet, $theme, $status );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-14 16:36:35

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

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

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