Yoast\WP\SEO\Schema_Aggregator\Domain
Indexable_Count_Collection::add_indexable_count
Adds an Indexable_Count object to the collection.
Метод класса: Indexable_Count_Collection{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Indexable_Count_Collection = new Indexable_Count_Collection(); $Indexable_Count_Collection->add_indexable_count( $indexable_count ): void;
- $indexable_count(Indexable_Count) (обязательный)
- The Indexable_Count object to add.
Код Indexable_Count_Collection::add_indexable_count() Indexable Count Collection::add indexable count Yoast 28.9
public function add_indexable_count( Indexable_Count $indexable_count ): void {
$this->indexable_counts[] = $indexable_count;
}