wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



_wp_secrets_retire › WordPress Function

Seit7.2.0
Veraltetn/v
› _wp_secrets_retire ( $name, $network )
Parameter: (2)
  • (string) $name The secret's name.
    Erforderlich: Ja
  • (bool) $network Whether this is a network-scope secret.
    Erforderlich: Ja
Gibt zurück:
  • (true|WP_Error)
Definiert in:
Codex:

Shared implementation behind wp_retire_secret_version() and its network twin.



Quellcode

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