WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
This hook occurs 2 times in this file.
| Line | Code |
|---|---|
| 130 | ); |
| 131 | |
| 132 | /** |
| 133 | * Filter the site title HTML in the embed footer. |
| 134 | * |
| 135 | * @since 4.4.0 |
| 136 | * |
| 137 | * @param string $site_title The site title HTML. |
| 138 | */ |
| 139 | echo apply_filters( 'embed_site_title_html', $site_title ); |
| 140 | ?> |
| 141 | </div> |
| 142 | |
| 143 | <div class="wp-embed-meta"> |
| 144 | <?php |
| 145 | /** |
| 146 | * Print additional meta content in the embed template. |
| 147 | * |
| 148 | * @since 4.4.0 |
| Line | Code |
| 177 | $site_title = sprintf( |
| 178 | '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon"/><span>%s</span></a>', |
| 179 | esc_url( home_url() ), |
| 180 | esc_url( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) ), |
| 181 | esc_url( get_site_icon_url( 64, admin_url( 'images/w-logo-blue.png' ) ) ), |
| 182 | esc_html( get_bloginfo( 'name' ) ) |
| 183 | ); |
| 184 | |
| 185 | /** This filter is documented in wp-includes/embed-template.php */ |
| 186 | echo apply_filters( 'embed_site_title_html', $site_title ); |
| 187 | ?> |
| 188 | </div> |
| 189 | </div> |
| 190 | </div> |
| 191 | <?php |
| 192 | endif; |
| 193 | |
| 194 | /** |
| 195 | * Print scripts or data before the closing body tag in the embed template. |