Automattic\WooCommerce\EmailEditor\Engine
Settings_Controller::translate_slug_to_color
Translate slug to color.
Метод класса: Settings_Controller{}
Хуков нет.
Возвращает
string.
Использование
$Settings_Controller = new Settings_Controller(); $Settings_Controller->translate_slug_to_color( $color_slug ): string;
- $color_slug(строка) (обязательный)
- Color slug.
Код Settings_Controller::translate_slug_to_color() Settings Controller::translate slug to color WC 11.2.2
public function translate_slug_to_color( string $color_slug ): string {
return $this->theme_controller->translate_slug_to_color( $color_slug );
}