i’m trying to set my site-wide color palette using this code, which has worked in the past.
add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' );
function tu_custom_color_palettes( $palettes ) {
$palettes = array(
'#000000',
'#FFFFFF',
'#F1C40F',
'#E74C3C',
'#1ABC9C',
'#1e72bd',
'#8E44AD',
'#00CC77',
);
return $palettes;
}
is this still a valid way to set the colors?
GeneratePress 2.2.2
GP Premium 1.7.8