wp-includes/embed.php:1236Prints the necessary markup for the site title in an embed template.
One hook fires while the_embed_site_title() runs, in this order:
Filters the site title HTML in the embed footer.
function the_embed_site_title(): void { $fallback_icon_url = includes_url( 'images/w-logo-gray-white-bg.svg' ); $site_icon_url = get_site_icon_url( 32, $fallback_icon_url ); $icon_img = ''; if ( $site_icon_url ) { $site_icon_url_2x = get_site_icon_url( 64, $fallback_icon_url ); $srcset = ( $site_icon_url_2x && $site_icon_url !== $site_icon_url_2x ) ? sprintf( ' srcset="%s 2x"', esc_url( $site_icon_url_2x ) ) : ''; $icon_img = sprintf( '<img src="%s"%s width="32" height="32" alt="" class="wp-embed-site-icon" />', esc_url( $site_icon_url ), $srcset ); } $site_title = sprintf( '<a href="%s" target="_top">%s<span>%s</span></a>', esc_url( home_url() ), $icon_img, esc_html( get_bloginfo( 'name' ) ) ); $site_title = '<div class="wp-embed-site-title">' . $site_title . '</div>'; /** * 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 );}Introduced in 4.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/embed.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.