get_site_icon_url хук-фильтр . WP 4.4.0
Filters the site icon URL.
Использование
add_filter( 'get_site_icon_url', 'filter_function_name_5273', 10, 3 ); function filter_function_name_5273( $url, $size, $blog_id ){ // filter... return $url; }
- $url(строка)
- Site icon URL.
- $size(число)
- Size of the site icon.
- $blog_id(число)
- ID of the blog to get the site icon for.
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
get_site_icon_url
wp-includes/general-template.php 948
return apply_filters( 'get_site_icon_url', $url, $size, $blog_id );