wp_header_image_attachment_metadata WordPress Filter Hook

The wp_header_image_attachment_metadata hook allows you to access the image attachment metadata for the image used in the header. This can be useful for displaying information about the image, or for doing something with the image data.

apply_filters( 'wp_header_image_attachment_metadata', array $metadata ) #

Filters the header image attachment metadata.


Description

Top ↑

See also


Top ↑

Parameters

$metadata

(array)Attachment metadata.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.