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



wp_using_secrets_dropin › WordPress Function

Seit7.2.0
Veraltetn/v
› wp_using_secrets_dropin ( Keine Parameter )
Gibt zurück:
  • (bool)
Definiert in:
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.


Quellcode

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