The wp_create_file_in_uploads
hook should change from an action hook to a filter hook
#1139
Labels
[Status] Done
Issue is completed
Issue Description
Per https://core.trac.wordpress.org/ticket/57775, the
wp_create_file_in_uploads
hook is documented as an action hook, but should actually be a filter hook. As part of that ticket, we are changing instances where it is called withdo_action
toapply_filters
, and the documentation should reflect that change as well.URL of the Page with the Issue
https://developer.wordpress.org/reference/hooks/wp_create_file_in_uploads/
Why is this a problem?
This is a problem because once the change in https://core.trac.wordpress.org/ticket/57775 is committed, the documentation will be incorrect.
Suggested Fix
do_action
toapply_filters
The text was updated successfully, but these errors were encountered: