wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_wp_unique_filename_file_list › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( 'pre_wp_unique_filename_file_list', null, $dir, $filename )
| Parameters: (3) |
|
| Defined at: |
|
| Codex: |
Filters the file list used for calculating a unique filename for a newly added file.
Returning an array from the filter will effectively short-circuit retrieval from the filesystem and return the passed value instead.Related Functions: wp_unique_filename, _wp_check_alternate_file_names, wp_unique_id_from_values, wp_unique_prefixed_id, wp_make_theme_file_tree, get_parent_theme_file_uri