Yoast\WP\SEO\Expiring_Store\Application
Expiring_Store::persist_for_multisite
Persists a value shared across the entire multisite network.
Метод класса: Expiring_Store{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Expiring_Store = new Expiring_Store(); $Expiring_Store->persist_for_multisite( $key, $value, $ttl_in_seconds ): void;
- $key(строка) (обязательный)
- The key.
- $value(scalar|array<string|int|float|true|false|массив|null>|JsonSerializable) (обязательный)
- The value to store.
- $ttl_in_seconds(int) (обязательный)
- The time-to-live in seconds.
Код Expiring_Store::persist_for_multisite() Expiring Store::persist for multisite Yoast 28.9
public function persist_for_multisite( string $key, $value, int $ttl_in_seconds ): void {
$this->do_persist( $key, $value, $ttl_in_seconds );
}