do_action( 'wp_create_file_in_uploads', string $file, int $attachment_id )

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


Parameters

$file string
Path to the file.
$attachment_id int
Attachment ID.

Top ↑

Source

File: wp-admin/includes/class-custom-image-header.php. View all references

do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.


Top ↑

Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.