WP_Recovery_Mode::clean_expired_keys() WordPress Method
The WP_Recovery_Mode::clean_expired_keys() method removes all expired keys from the database. This is called automatically by the plugin when it is deactivated.
WP_Recovery_Mode::clean_expired_keys() #
Cleans any recovery mode keys that have expired according to the link TTL.
Description
Executes on a daily cron schedule.
Source
File: wp-includes/class-wp-recovery-mode.php
public function clean_expired_keys() { $this->key_service->clean_expired_keys( $this->get_link_ttl() ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |