Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
CustomScalarType::parseValue
Method of the class: CustomScalarType{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CustomScalarType = new CustomScalarType(); $CustomScalarType->parseValue( $value );
- $value(required)
- .
CustomScalarType::parseValue() CustomScalarType::parseValue code WC 10.9.4
public function parseValue($value)
{
if (isset($this->config['parseValue'])) {
return $this->config['parseValue']($value);
}
return $value;
}