[wp-trac] [WordPress Trac] #38942: New filter for header image tag attributes
WordPress Trac
noreply at wordpress.org
Fri Nov 25 17:45:47 UTC 2016
#38942: New filter for header image tag attributes
-------------------------+-----------------------------
Reporter: junaidbhura | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: template |
-------------------------+-----------------------------
There is currently no way to filter the attributes of the header image tag
before it is used to build the header image tag HTML in the
get_header_image_tag() function.
I've attached a diff to solve this problem by adding a new
'get_header_image_tag_attributes' filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38942>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list