WP_Recovery_Mode_Key_Service::get_keys

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Gets the recovery key records.

Syntax Syntax

WP_Recovery_Mode_Key_Service::get_keys()

Return Return

(array) Associative array of $token => $data pairs, where $data has keys 'hashed_key' and 'created_at'.

Source Source

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

	private function get_keys() {
		return (array) get_option( $this->option_name, array() );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply