twentyeleven_layouts

過濾鉤子
apply_filters( 'twentyeleven_layouts', $layout_options )
引數
  • (array) $layout_options An associative array of layout options.
    Required:
定義位置
  • wp-content/themes/twentyeleven/inc/theme-options.php , line 205
相關勾子
twentyeleven_layout_classestwentyeleven_creditstwentyeleven_attachment_sizetwentyeleven_color_schemestwentytwelve_credits
相關方法
screen_layoutwp_get_layout_styleendelementwp_register_layout_supportget_editable_authorsstartelement
引入
Twenty Eleven 1.0
棄用
-

twentyeleven_layouts – 這個函式用來定義Twenty Eleven主題中的可用佈局選項。它設定了不同的佈局選項,使用者可以在主題定製選單中進行選擇。

過濾Twenty Eleven佈局選項。

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

常見問題

FAQs
檢視更多 >