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



_wp_secrets_list › WordPress Function

Seit7.2.0
Veraltetn/v
› _wp_secrets_list ( $name_prefix, $network )
Parameter: (2)
  • (string) $name_prefix Restrict to names beginning with this prefix.
    Erforderlich: Ja
  • (bool) $network Whether to list network-scope secrets.
    Erforderlich: Ja
Gibt zurück:
  • (array|WP_Error)
Definiert in:
Codex:

Shared implementation behind wp_list_secrets() and wp_list_network_secrets().



Quellcode

function _wp_secrets_list( string $name_prefix, bool $network ) {
	return _wp_secrets_get_provider()->list_secrets( $name_prefix, $network );
}