Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldsSchema

DocumentObject::get_context │ public │ WC 1.0

Get the current context.

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

Хуков нет.

Возвращает

null|string. The context.

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

$DocumentObject = new DocumentObject();
$DocumentObject->get_context();

Код DocumentObject::get_context() WC 11.3.0

public function get_context() {
	return $this->context;
}