Skip to content

Instantly share code, notes, and snippets.

@bgardner

bgardner/functions.php

Last active Apr 9, 2019
Embed
What would you like to do?
Disables custom colors in block color palette in the editor for sites using the Genesis Framework.
<?php
// Do NOT include the opening php tag.
// Disables custom colors in block color palette.
add_theme_support( 'disable-custom-colors' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.