WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Argument

ClassNameWithOptionalValue::getOptionalValue() public WC 1.0

{} It's a method of the class: ClassNameWithOptionalValue{}

No Hooks.

Return

null. Nothing.

Usage

$ClassNameWithOptionalValue = new ClassNameWithOptionalValue();
$ClassNameWithOptionalValue->getOptionalValue();

Code of ClassNameWithOptionalValue::getOptionalValue() WC 5.7.1

public function getOptionalValue()
{
    return $this->optionalValue;
}