WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

wp_create_file_in_uploads хук-событие . WP 2.1.0

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

Ищем WP-разработчика! Фулл-тайм, удаленка, хорошая зарплата, соц. пакет. Подробности.
Компания Boosta.

Использование

add_action( 'wp_create_file_in_uploads', 'action_function_name_6310', 10, 2 );
function action_function_name_6310( $file, $attachment_id ){
	// action...
}
$file(строка)
Path to the file.
$attachment_id(int)
Attachment ID.

Список изменений

С версии 2.1.0 Введена.

Где вызывается хук

Custom_Image_Header::step_2()
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
Custom_Background::handle_upload()
wp_create_file_in_uploads
wp_ajax_crop_image()
wp_create_file_in_uploads
wp-admin/includes/class-custom-image-header.php 880
do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.
wp-admin/includes/class-custom-image-header.php 903
$image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication.
wp-admin/includes/class-custom-image-header.php 1062
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
wp-admin/includes/class-custom-image-header.php 1405
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
wp-admin/includes/class-custom-background.php 535
do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication.
wp-admin/includes/ajax-actions.php 3913
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
wp-admin/includes/ajax-actions.php 3941
$cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.

Где используется хук в ядре WordPress

Использование не найдено.