wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_secrets_retire › WordPress Function

Since7.2.0
Deprecatedn/a
› _wp_secrets_retire ( $name, $network )
Parameters: (2)
  • (string) $name The secret's name.
    Required: Yes
  • (bool) $network Whether this is a network-scope secret.
    Required: Yes
Returns:
  • (true|WP_Error)
Defined at:
Codex:

Shared implementation behind wp_retire_secret_version() and its network twin.



Source

function _wp_secrets_retire( string $name, bool $network ) {
	return _wp_secrets_get_provider()->retire_previous( $name, $network );
}