[wp-trac] [WordPress Trac] #43742: Add $_wp_admin_css_colors variable to front-end
WordPress Trac
noreply at wordpress.org
Thu Apr 12 07:17:43 UTC 2018
#43742: Add $_wp_admin_css_colors variable to front-end
-------------------------+-----------------------------
Reporter: danieltj | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I've developed a plugin that uses the admin colour scheme functionality.
When a colour scheme is registered (using `wp_admin_css_color`), it's
added to the `$_wp_admin_css_colors` variable. This is only accessible
within the dashboard though so if you try and use that variable on the
front-end, it returns `null` (doesn't exist).
Can this be made accessible on the front-end too?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43742>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list