[wp-trac] [WordPress Trac] #32607: Function for URL to registers scripts and styles
WordPress Trac
noreply at wordpress.org
Wed Jun 10 17:05:22 UTC 2015
#32607: Function for URL to registers scripts and styles
-----------------------------+-----------------------------
Reporter: msnewton | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
I would like to see a function that would return the full URL to a script
or style registered with wp_register_script() or wp_register_style(), or
those that are “built-in” to WP.
The reason is this: I generate all of the HTML for special pages myself
but wish to include standard scripts and styles that are built in to
WordPress. Rather than relying upon a fixed filepath to remain static, and
assuming it won't change in future versions, I'd like to ask WP to tell me
where it is.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32607>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list