[wp-trac] [WordPress Trac] #36330: Function to get custom logo URL

WordPress Trac noreply at wordpress.org
Tue Sep 13 16:50:18 UTC 2016


#36330: Function to get custom logo URL
-------------------------------------+-----------------------
 Reporter:  rabmalin                 |       Owner:
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  Customize                |     Version:  4.5
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  template
-------------------------------------+-----------------------

Comment (by NathanAtmoz):

 Replying to [comment:3 DrewAPicture]:
 > Replying to [comment:2 obenland]:
 > > Can you expand on the need for a function like that?
 >
 > I'm actually surprised we didn't introduce a `get_custom_logo_url()`
 helper, it seems like kind of a given for a new feature like this. I can
 absolutely see wanting to pull just the URL and not the full markup.
 I'm surprised there isn't a `get_custom_logo_url()` helper too.

 I want to use the custom logo as a background image. With the WP functions
 available to me, I'm unable to do this without duplicating code in the
 `get_custom_logo()` function.

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


More information about the wp-trac mailing list