Created
June 10, 2026 06:12
-
-
Save maddisondesigns/6fe65aa31220cce5529a85af0a96aad8 to your computer and use it in GitHub Desktop.
Automatically set WordPress Administration Color Scheme to previous default (Fresh) colour scheme, for all users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Automatically set Administration Color Scheme to previous default (Fresh) colour scheme, for all users | |
| */ | |
| function set_admin_color_scheme( $color_scheme ) { | |
| return 'fresh'; | |
| } | |
| add_filter( 'get_user_option_admin_color', 'set_admin_color_scheme', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment