the_embed_site_title

函数


the_embed_site_title ( No parameters )
定义位置
  • wp-includes/embed.php
    , line 1201
引入
4.5.0
弃用

Prints the necessary markup for the site title in an embed template.

function the_embed_site_title() {
	$site_title = sprintf(
		'the_embed_site_title插图%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 ); }