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.


Top ↑

Source

File: wp-includes/class-wp-recovery-mode.php

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


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.