Automattic\WooCommerce\EmailEditor\Engine

Settings_Controller::translate_slug_to_colorpublicWC 1.0

Translate slug to color.

Метод класса: Settings_Controller{}

Хуков нет.

Возвращает

Строку.

Использование

$Settings_Controller = new Settings_Controller();
$Settings_Controller->translate_slug_to_color( $color_slug ): string;
$color_slug(строка) (обязательный)
Color slug.

Код Settings_Controller::translate_slug_to_color() WC 10.0.2

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