Make WordPress Core

Opened 23 months ago

#43742 new enhancement

Add $_wp_admin_css_colors variable to front-end

Reported by: danieltj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


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?

Change History (0)

Note: See TracTickets for help on using tickets.