Yoast\WP\SEO\Introductions\Domain

Introductions_Bucket::add_introduction │ public │ Yoast 1.0

Adds an introduction to this bucket.

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

Хуков нет.

Возвращает

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

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

$Introductions_Bucket = new Introductions_Bucket();
$Introductions_Bucket->add_introduction( $introduction );
$introduction(Introduction_Item) (обязательный)
The introduction.

Код Introductions_Bucket::add_introduction() Yoast 28.9

public function add_introduction( Introduction_Item $introduction ) {
	$this->introductions[] = $introduction;
}