WP_Recovery_Mode::clean_expired_keys() public WP 5.2.0
Cleans any recovery mode keys that have expired according to the link TTL.
Executes on a daily cron schedule.
{} It's a method of the class: WP_Recovery_Mode{}
No Hooks.
Return
Null. Nothing.
Usage
$WP_Recovery_Mode = new WP_Recovery_Mode(); $WP_Recovery_Mode->clean_expired_keys();
Changelog
Since 5.2.0 | Introduced. |
Code of WP_Recovery_Mode::clean_expired_keys() WP Recovery Mode::clean expired keys WP 5.6
public function clean_expired_keys() {
$this->key_service->clean_expired_keys( $this->get_link_ttl() );
}