theme_row_meta

過濾鉤子
apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status )
引數
  • (string[]) $theme_meta An array of the theme's metadata, including the version, author, and theme URI.
    Required:
  • (string) $stylesheet Directory name of the theme.
    Required:
  • (WP_Theme) $theme WP_Theme object.
    Required:
  • (string) $status Status of the theme.
    Required:
定義位置
相關勾子
embed_content_metaafter_theme_rowplugin_row_metatheme_localeimage_strip_meta
相關方法
the_metathe_author_metaget_theme_rootget_theme_rootsget_the_author_metaupdate_post_meta
引入
3.1.0
棄用
-

theme_row_meta是一個WordPress過濾鉤子,允許開發者在WordPress管理區的主題頁面上為主題列表新增額外的元資訊。

過濾多站點主題列表中每個主題的行元陣列。列表中每個主題的行元陣列。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );
$theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );
$theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );

常見問題

FAQs
檢視更多 >