Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\Rule

Rule::addComments │ public │ WC 1.0

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

Хуков нет.

Возвращает

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

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

$Rule = new Rule();
$Rule->addComments( $aComments );
$aComments(array<array-key, Comment>) (обязательный)
.

Код Rule::addComments() WC 11.3.0

public function addComments(array $aComments)
{
    $this->aComments = array_merge($this->aComments, $aComments);
}