Make WordPress Core


Ignore:
Timestamp:
10/23/2015 09:16:30 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Site Icon: Introduce get_site_icon_url filter for the icon URL.

Remove oembed_site_icon_url filter added in [34903].

Props swissspidy.
Fixes #34411.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r35328 r35379  
    777777    }
    778778
    779     return $url;
     779    /**
     780     * Filter the site icon URL.
     781     *
     782     * @site 4.4.0
     783     *
     784     * @param string $url     Site icon URL.
     785     * @param int    $size    Size of the site icon.
     786     * @param int    $blog_id ID of the blog to get the site icon for.
     787     */
     788    return apply_filters( 'get_site_icon_url', $url, $size, $blog_id );
    780789}
    781790
Note: See TracChangeset for help on using the changeset viewer.