Yoast\WP\SEO\Expiring_Store\Application

Expiring_Store::haspublicYoast 1.0

Checks whether a non-expired value exists for a blog-scoped key.

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

Хуков нет.

Возвращает

true|false.

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

$Expiring_Store = new Expiring_Store();
$Expiring_Store->has( $key ): bool;
$key(строка) (обязательный)
The key.

Код Expiring_Store::has() Yoast 27.7

public function has( string $key ): bool {
	return $this->do_has( $this->prefix_for_blog( $key ) );
}