[wp-trac] [WordPress Trac] #46134: Allow filtering of `$header` object in `get_header_image_tag()` function (for custom header image override)

WordPress Trac noreply at wordpress.org
Thu Oct 21 06:16:14 UTC 2021


#46134: Allow filtering of `$header` object in `get_header_image_tag()` function
(for custom header image override)
-----------------------------------+-----------------------------
 Reporter:  webmandesign           |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Media                  |     Version:  5.0.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------

Comment (by sabernhardt):

 Let's keep discussion about the filter on #38942 instead of here.

 The URL argument was **intentionally** changed in #38633. However, if that
 URL is valuable in the filter (or another way), we might be able to use a
 `$header_url` variable instead of redefining the argument.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46134#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list