twentytwenty_site_description

過濾鉤子
apply_filters( 'twentytwenty_site_description', $html, $description, $wrapper )
引數
  • (string) $html The HTML to display.
    Required:
  • (string) $description Site description via `bloginfo()`.
    Required:
  • (string) $wrapper The format used in case you want to reuse it in a `sprintf()`.
    Required:
定義位置
  • wp-content/themes/twentytwenty/inc/template-tags.php , line 122
相關勾子
twentytwenty_toggle_durationtwentytwenty_site_logotwentytwenty_site_logo_argstwentytwenty_starter_contenttwentytwenty_social_icons_map
相關方法
get_file_descriptionwp_sidebar_descriptionthe_archive_descriptionwp_widget_descriptionthe_author_descriptionterm_description
引入
Twenty Twenty 1.0
棄用
-

twenty_site_description 是WordPress主題Twenty Twenty中的一個函式。它返回網站設定中設定的網站描述。

過濾網站描述的HTML。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$html = apply_filters( 'twentytwenty_site_description', $html, $description, $wrapper );
$html = apply_filters( 'twentytwenty_site_description', $html, $description, $wrapper );
$html = apply_filters( 'twentytwenty_site_description', $html, $description, $wrapper );

常見問題

FAQs
檢視更多 >