W3cubDocs

/WordPress

apply_filters( ‘wp_trusted_keys’, string[] $trusted_keys )

Filters the valid signing keys used to verify the contents of files.

Parameters

$trusted_keysstring[]
The trusted keys that may sign packages.

Source

return apply_filters( 'wp_trusted_keys', $trusted_keys );

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_trusted_keys