MailPoet\EmailEditor\Engine
Settings_Controller::translate_slug_to_color()
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() 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 ); }