[wp-trac] [WordPress Trac] #56180: get_header_image(): may consider adding filter in 'get_header_image()'

WordPress Trac noreply at wordpress.org
Wed Jul 20 21:11:44 UTC 2022

#56180: get_header_image(): may consider adding filter in 'get_header_image()'
 Reporter:  hztyfoon                             |       Owner:  audrasjb
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  Themes                               |     Version:  2.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info commit needs-dev-note             |  administration
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


 In [changeset:"53741" 53741]:
 #!CommitTicketReference repository="" revision="53741"
 Themes: Add a hook to filter theme header image URL.

 This changeset introduces the `get_header_image` filter, which can be used
 to modify header image URL returned by `get_header_image()`, in themes
 that support the Header Image feature.

 Props hztyfoon, audrasjb, mukesh27, SergeyBiryukov, costdev.
 Fixes #56180.

Ticket URL: <https://core.trac.wordpress.org/ticket/56180#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list