MailPoet\EmailEditor\Engine

Settings_Controller::translate_slug_to_color()publicWC 1.0

Translate slug to color.

Method of the class: Settings_Controller{}

No Hooks.

Return

String.

Usage

$Settings_Controller = new Settings_Controller();
$Settings_Controller->translate_slug_to_color( $color_slug ): string;
$color_slug(string) (required)
Color slug.

Settings_Controller::translate_slug_to_color() code WC 9.8.1

public function translate_slug_to_color( string $color_slug ): string {
	return $this->theme_controller->translate_slug_to_color( $color_slug );
}