_wp_check_existing_file_names


_wp_check_existing_file_names ( $filename, $files )

Access:
  • private
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:

Description

Helper function to check if a file name could match an existing image sub-size file name.

Related Functions

_wp_check_alternate_file_names, wp_check_filetype, wp_check_revisioned_meta_fields_have_changed, wp_check_for_changed_dates, wp_using_themes

Top Google Results

User discussions

wpseek mobile