On this page
apply_filters( 'wp_header_image_attachment_metadata', array $metadata )
Filters the header image attachment metadata.
Description
See also
Parameters
$metadataarray-
Attachment metadata.
Source
File: wp-admin/includes/class-custom-image-header.php. View all references
$metadata = apply_filters( 'wp_header_image_attachment_metadata', $metadata );
Related
Used By
| Used By | Description |
|---|---|
| Custom_Image_Header::insert_attachment() wp-admin/includes/class-custom-image-header.php | Insert an attachment and its metadata. |
Changelog
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_header_image_attachment_metadata