Skip to content

Instantly share code, notes, and snippets.

@465media
Created January 26, 2021 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 465media/4b35ea8e8e7904ba08ad3401dc7ec998 to your computer and use it in GitHub Desktop.
Save 465media/4b35ea8e8e7904ba08ad3401dc7ec998 to your computer and use it in GitHub Desktop.
Danforth disable color picker
/**
* 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