wp_create_file_in_uploads – filter
Fires after the header image is set or an error is returned.
Parameters
- .
- ( 2.1.0 ) . .
- $file
- ( string ) Path to the file. . . .
- ( int ) $attachment_id Attachment ID. . . .
Invokers
1 to 5 of 5
- Custom_Background::handle_upload() – Handle an Image upload for the background image.
- Custom_Image_Header::ajax_header_crop() – Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details.
- Custom_Image_Header::step_2() – Display second step of custom header image page.
- Custom_Image_Header::step_3() – Display third step of custom header image page.
- wp_ajax_crop_image() – Ajax handler for cropping an image.