Woo_Directive_Context::__construct()publicWC 1.0

Constructor.

Accepts a context as an argument to initialize this with.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Woo_Directive_Context = new Woo_Directive_Context();
$Woo_Directive_Context->__construct( $context );
$context(массив)
A context.
По умолчанию: array()

Код Woo_Directive_Context::__construct() WC 7.7.2

function __construct( $context = array() ) {
	$this->set_context( $context );
}