_wp_check_alternate_file_names


_wp_check_alternate_file_names ( $filenames, $dir, $files )

Access:
  • private
Parameters:
  • (string[]) filenames Array of file names to check.
  • (string) dir The directory containing the files.
  • (array) files An array of existing files in the directory. May be empty.
Returns:
  • (bool) True if the tested file name could match an existing file, false otherwise.
Defined at:

Description

Helper function to test if each of an array of file names could conflict with existing files.

Related Functions

_wp_check_existing_file_names, wp_check_filetype, _get_template_edit_filename, wp_delete_file, sanitize_file_name

Top Google Results

User discussions

wpseek mobile