wordpress / latest / hooks / wp_trusted_keys.html

apply_filters( 'wp_trusted_keys', string[] $trusted_keys )

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

Parameters

$trusted_keys string[]
The trusted keys that may sign packages.

Source

File: wp-admin/includes/file.php. View all references

return apply_filters( 'wp_trusted_keys', $trusted_keys );

Used By

Used By Description

Changelog

Version Description
5.2.0 Introduced.

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