WP_Recovery_Mode::clean_expired_keys()publicWP 5.2.0

Cleans any recovery mode keys that have expired according to the link TTL.

Executes on a daily cron schedule.

Method of the class: WP_Recovery_Mode{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Recovery_Mode = new WP_Recovery_Mode();
$WP_Recovery_Mode->clean_expired_keys();

Changelog

Since 5.2.0 Introduced.

WP_Recovery_Mode::clean_expired_keys() code WP 6.4.3

public function clean_expired_keys() {
	$this->key_service->clean_expired_keys( $this->get_link_ttl() );
}