Yoast\WP\SEO\Bulk_Editor\Domain\Updates
Update_Result_Collection::add
Adds an update result to the collection.
Метод класса: Update_Result_Collection{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Update_Result_Collection = new Update_Result_Collection(); $Update_Result_Collection->add( $result ): void;
- $result(Update_Result) (обязательный)
- The update result to add.
Код Update_Result_Collection::add() Update Result Collection::add Yoast 28.9
public function add( Update_Result $result ): void {
$this->results[] = $result;
}