wp_header_image_attachment_metadata

wp_header_image_attachment_metadata

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('wp_header_image_attachment_metadata') is found 1 times:

  • /wp-admin/includes/class-custom-image-header.php line 1374
    		 * @see wp_generate_attachment_metadata()
    		 *
    		 * @param array $metadata Attachment metadata.
    		 */
    		$metadata = apply_filters( 'wp_header_image_attachment_metadata', $metadata );
    
    		wp_update_attachment_metadata( $attachment_id, $metadata );
    
    		return $attachment_id;
    	}