Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer

Rendering_Context::get_text_direction │ public │ WC 1.0

Get the HTML/CSS text direction.

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

Хуков нет.

Возвращает

string.

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

$Rendering_Context = new Rendering_Context();
$Rendering_Context->get_text_direction(): string;

Код Rendering_Context::get_text_direction() WC 11.3.0

public function get_text_direction(): string {
	return $this->is_rtl() ? 'rtl' : 'ltr';
}