verify_file_signature
verify_file_signature ( $filename, $signatures, $filename_for_errors = false )
Parameters:- (string) filename The file to validate.
- (string|array) signatures A Signature provided for the file.
- (string|false) filename_for_errors Optional. A friendly filename for errors.
Returns:- (bool|WP_Error) True on success, false if verification not attempted, or WP_Error describing an error condition.
Defined at: - Introduced in WordPress: 5.2.0
- Deprecated in WordPress: —
Description
Verifies the contents of a file against its ED25519 signature.