Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\RuleSet

RuleSet::addComments │ public │ WC 1.0

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

Хуков нет.

Возвращает

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

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

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

Код RuleSet::addComments() WC 11.3.0

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