_wp_check_existing_file_names
- %1$s is private and should not be used in themes or plugins directly.
_wp_check_existing_file_names ( $filename, $files )
Access:Parameters:- (string) filename The file name to check.
- (array) files An array of existing files in the directory.
Returns:- (bool) True if the tested file name could match an existing file, false otherwise.
Defined at: - Introduced in WordPress: 5.3.1
- Deprecated in WordPress: —
Description
Helper function to check if a file name could match an existing image sub-size file name.