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。

$html = apply_filters( 'twentytwenty_site_description', $html, $description, $wrapper );

常见问题

FAQs
查看更多 >