the_embed_site_title
函数
the_embed_site_title ( No parameters )
- 定义位置
-
-
wp-includes/embed.php
, line 1201
-
wp-includes/embed.php
- 引入
- 4.5.0
- 弃用
- –
Prints the necessary markup for the site title in an embed template.
function the_embed_site_title() {
$site_title = sprintf(
'%s',
esc_url( home_url() ),
esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
esc_html( get_bloginfo( 'name' ) )
);
$site_title = '' . $site_title . '';
/**
* Filters the site title HTML in the embed footer.
*
* @since 4.4.0
*
* @param string $site_title The site title HTML.
*/
echo apply_filters( 'embed_site_title_html', $site_title );
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。