[Resolved] Return Current Color Palettes

Home Forums Support [Resolved] Return Current Color Palettes

Home Forums Support Return Current Color Palettes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1096009
    Bryan

    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

    #1096065
    Leo
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #1096075
    Bryan

    Thank you, sir! Perfect.

    #1096077
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.