wpseek.com
WordPress开发者和主题制作者的搜索引擎



_wp_secrets_retire › WordPress Function

Since7.2.0
已弃用n/a
› _wp_secrets_retire ( $name, $network )
访问:
  • private
参数: (2)
  • (string) $name The secret's name.
    Required: Yes
  • (bool) $network Whether this is a network-scope secret.
    Required: Yes
返回:
  • (true|WP_Error)
定义在:
文档:

Shared implementation behind wp_retire_secret_version() and its network twin.



源码

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