WordPress at a glance
action is not described

wp_create_file_in_uploads action-hook . WP 2.1.0

Fires after the header image is set or an error is returned.

Usage

add_action( 'wp_create_file_in_uploads', 'action_function_name_8045', 10, 2 );
function action_function_name_8045( $file, $attachment_id ){
	// action...
}
$file(string)
Path to the file.
$attachment_id(int)
Attachment ID.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

Custom_Image_Header::step_2()
wp_create_file_in_uploads
Custom_Background::handle_upload()
wp_create_file_in_uploads
wp_ajax_crop_image()
wp_create_file_in_uploads
Custom_Image_Header::step_3()
wp_create_file_in_uploads
Custom_Image_Header::ajax_header_crop()
wp_create_file_in_uploads
wp-admin/custom-header.php 818
do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication
wp-admin/custom-background.php 521
do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication
wp-admin/includes/ajax-actions.php 3639
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
wp-admin/includes/ajax-actions.php 3667
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
wp-admin/custom-header.php 829
$image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication
wp-admin/custom-header.php 972
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication
wp-admin/custom-header.php 1308
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication

Where the hook is used (in WP core)

Usage not found!