[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
Tue Jan 29 15:00:41 UTC 2019


#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:  Awaiting Review
Component:  Media                  |     Version:  5.0.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------

Comment (by webmandesign):

 Also, I've named the filter in my patch as `header_image_tag_object`. That
 name doesn't really feel correct to me, but I'm not sure what naming
 convention WordPress uses in these cases, when we are filtering a variable
 of a function. Any suggestions on hook name improvements are welcome!

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


More information about the wp-trac mailing list