Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers

DotNotation::validate │ public │ WC 1.0

Validate Transformer arguments.

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

Хуков нет.

Возвращает

mixed.

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

$DotNotation = new DotNotation();
$DotNotation->validate( ?stdClass $arguments );
?stdClass $arguments
.
По умолчанию: null

Код DotNotation::validate() WC 11.2.2

public function validate( ?stdClass $arguments = null ) {
	if ( ! isset( $arguments->path ) ) {
		return false;
	}

	return true;
}