twenty_twenty_one_content_width

過濾鉤子
apply_filters( 'twenty_twenty_one_content_width', 750 )

twenty_twenty_one_content_width:此函式用於確定主題主要內容區域的最大寬度。

註冊小工具區域。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$GLOBALS['content_width'] = apply_filters( 'twenty_twenty_one_content_width', 750 );
$GLOBALS['content_width'] = apply_filters( 'twenty_twenty_one_content_width', 750 );
$GLOBALS['content_width'] = apply_filters( 'twenty_twenty_one_content_width', 750 );

常見問題

FAQs
檢視更多 >