Created
January 26, 2021 14:20
-
-
Save 465media/4b35ea8e8e7904ba08ad3401dc7ec998 to your computer and use it in GitHub Desktop.
Danforth disable color picker
This file contains 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
/** | |
* Disable the custom color picker. | |
*/ | |
function danforth_gutenberg_disable_custom_colors() { | |
add_theme_support( 'disable-custom-colors' ); | |
} | |
add_action( 'after_setup_theme', 'danforth_gutenberg_disable_custom_colors' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment