twentytwenty_starter_content

過濾鉤子
apply_filters( 'twentytwenty_starter_content', $starter_content )
引數
  • (array) $starter_content Array of starter content.
    Required:
定義位置
  • wp-content/themes/twentytwenty/inc/starter-content.php , line 216
相關勾子
twenty_twenty_one_starter_contenttwentyseventeen_starter_contenttwentytwenty_start_of_post_meta_listtwentytwenty_site_logotwentytwenty_site_description
相關方法
get_theme_starter_contentget_the_contentget_the_content_feedget_url_in_contentget_user_countwp_filter_content_tags
引入
Twenty Twenty 1.0
棄用
-

twentytwenty_starter_content:這是一個過濾器鉤子,用於定義主題首次啟用時包含在主題中的預設內容。

過濾Twenty Twenty陣列的起始內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters( 'twentytwenty_starter_content', $starter_content );
return apply_filters( 'twentytwenty_starter_content', $starter_content );
return apply_filters( 'twentytwenty_starter_content', $starter_content );

常見問題

FAQs
檢視更多 >