主題"頁面中顯示每一行主題資訊後被觸發。開發者可以使用這個鉤子來新增額外的資訊或資料到主題行中。" />

after_theme_row

動作鉤子
do_action( 'after_theme_row', $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_setup_themeafter_theme_row_stylesheetafter_plugin_rowtheme_row_metadelete_theme
相關方法
get_theme_rootget_raw_theme_rootget_theme_rootsget_theme_modset_theme_modregister_theme_directory
引入
3.1.0
棄用
-

after_theme_row: 這是一個鉤子,在WordPress”外觀>主題”頁面中顯示每一行主題資訊後被觸發。開發者可以使用這個鉤子來新增額外的資訊或資料到主題行中。

在多站點主題列表表中的每一行之後觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'after_theme_row', $stylesheet, $theme, $status );
do_action( 'after_theme_row', $stylesheet, $theme, $status );
do_action( 'after_theme_row', $stylesheet, $theme, $status );

常見問題

FAQs
檢視更多 >