You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DevHub] wp_handle_upload_prefilter reference to upload_dir is unclear #2512
changed the title [-]`wp_handle_upload_prefilter` reference to `upload_dir` is unclear[/-][+][DevHub] `wp_handle_upload_prefilter` reference to `upload_dir` is unclear[/+]on Sep 28, 2026
Activity
github-actions commentedon Sep 18, 2026
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.
[-]`wp_handle_upload_prefilter` reference to `upload_dir` is unclear[/-][+][DevHub] `wp_handle_upload_prefilter` reference to `upload_dir` is unclear[/+]ahsanchowdhury commentedon Oct 2, 2026
I’d like to work on this documentation fix. /assign
ahsanchowdhury commentedon Oct 2, 2026
Thanks, I’ll work on this.
Proposed wording:
“Using this, in conjunction with the
upload_dirfilter, you can dynamically determine which directory to upload to, based on the files you upload.”I verified that
upload_diris a filter documented here:https://developer.wordpress.org/reference/hooks/upload_dir/
Please let me know whether this should be submitted as a documentation PR or updated directly in the Developer Reference.