Yoast\WP\SEO\Expiring_Store\Application\Ports

Expiring_Store_Repository_Interface::upsertpublicYoast 1.0

Inserts or replaces a value in the expiring store.

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

Хуков нет.

Возвращает

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

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

$Expiring_Store_Repository_Interface = new Expiring_Store_Repository_Interface();
$Expiring_Store_Repository_Interface->upsert( $key, $json_value, $expiration_datetime ): void;
$key(строка) (обязательный)
The key to store.
$json_value(строка) (обязательный)
The JSON-encoded value.
$expiration_datetime(строка) (обязательный)
The expiration datetime in 'Y-m-d H:i:s' format.

Код Expiring_Store_Repository_Interface::upsert() Yoast 27.7

public function upsert( string $key, string $json_value, string $expiration_datetime ): void;