_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_filetype, wp_check_for_changed_dates, wp_using_themes, wp_unique_filename, wp_get_missing_image_subsizes

Top Google Results

User discussions

wpseek mobile