Yoast\WP\SEO\Promotions\Application

Promotion_Manager_Interface::is()publicYoast 1.0

Whether the promotion is effective.

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

Хуков нет.

Возвращает

true|false. Whether the promotion is effective.

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

$Promotion_Manager_Interface = new Promotion_Manager_Interface();
$Promotion_Manager_Interface->is( $promotion_name ): bool;
$promotion_name(строка) (обязательный)
The name of the promotion.

Код Promotion_Manager_Interface::is() Yoast 24.4

public function is( string $promotion_name ): bool;