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



wp_using_secrets_dropin › WordPress Function

Since7.2.0
Deprecatedn/a
› wp_using_secrets_dropin ( No parameters )
Returns:
  • (bool)
Defined at:
Codex:

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.


Source

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