Automattic\WooCommerce\EmailEditor\Engine
Settings_Controller::translate_slug_to_font_size
Translate slug to font size.
Method of the class: Settings_Controller{}
No Hooks.
Returns
String.
Usage
$Settings_Controller = new Settings_Controller(); $Settings_Controller->translate_slug_to_font_size( $font_size ): string;
- $font_size(string) (required)
- Font size slug.
Settings_Controller::translate_slug_to_font_size() Settings Controller::translate slug to font size code WC 10.6.2
public function translate_slug_to_font_size( string $font_size ): string {
return $this->theme_controller->translate_slug_to_font_size( $font_size );
}