Yoast\WP\SEO\Promotions\Application

Promotion_Manager::get_promotions_list()publicYoast 1.0

Get the list of promotions.

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

Хуков нет.

Возвращает

Массив. The list of promotions.

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

$Promotion_Manager = new Promotion_Manager();
$Promotion_Manager->get_promotions_list(): array;

Код Promotion_Manager::get_promotions_list() Yoast 24.4

public function get_promotions_list(): array {
	return $this->promotions_list;
}