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



wp_using_secrets_dropin › WordPress Function

Since7.2.0
已弃用n/a
› wp_using_secrets_dropin ( 没有参数 )
返回:
  • (bool)
定义在:
文档:

Whether a secrets.php drop-in is present and was loaded.

True whether or not the drop-in successfully provided a store or keyring override. It reports presence rather than health; Site Health reports separately on whether a loaded drop-in is actually working.


源码

function wp_using_secrets_dropin(): bool {
	return ! empty( $GLOBALS['wp_secrets_dropin_loaded'] );
}