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



_wp_secrets_list › WordPress Function

Since7.2.0
Deprecatedn/a
› _wp_secrets_list ( $name_prefix, $network )
Parameters: (2)
  • (string) $name_prefix Restrict to names beginning with this prefix.
    Required: Yes
  • (bool) $network Whether to list network-scope secrets.
    Required: Yes
Returns:
  • (array|WP_Error)
Defined at:
Codex:

Shared implementation behind wp_list_secrets() and wp_list_network_secrets().



Source

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