Astra_Global_Palette::support_editor_color_palette()

Modify color palette from Gutenberg.


Description


Return

(void)


Source

File: inc/class-astra-global-palette.php

	public function support_editor_color_palette() {
		$global_palette = astra_get_option( 'global-color-palette' );
		$editor_palette = $this->format_global_palette( $global_palette );
		add_theme_support( 'editor-color-palette', $editor_palette );
	}

Changelog

Changelog
Version Description
3.7.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.