WC_Vendor_Attribute::__constructpublicWC 1.0

Method of the class: WC_Vendor_Attribute{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Vendor_Attribute = new WC_Vendor_Attribute();
$WC_Vendor_Attribute->__construct( $flags );
$flags(int)
.
Default: self::TARGET_ALL

WC_Vendor_Attribute::__construct() code WC 10.5.0

public function __construct(int $flags = self::TARGET_ALL)
{
    $this->flags = $flags;
}