Archived topic
Return Current Color Palettes
3 replies · Started by Bryan on December 6, 2019
Hey all - Digging the theme and love that it's so easy to customize. Question, what's the PHP syntax be to return the current default color palette? I don't want to change the palette. Just get an array of the what the current settings are.
I saw the 'generate_default_color_palettes' filter but wasn't sure if there was a function to return the current palette.
Thanks!
Bryan
Hi there,
You can see the default here:
https://github.com/tomusborne/generatepress/blob/7f9a2662f3388295407e96065fafe348b28a01b6/inc/general.php#L290
Let me know if this helps :)
Thank you, sir! Perfect.
No problem :)