Attribute::__constructpublicWC 1.0

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Attribute = new Attribute();
$Attribute->__construct( $flags );
$flags(int)
.
По умолчанию: self::TARGET_ALL

Код Attribute::__construct() WC 10.4.3

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