Custom_Image_Header::create_attachment_object( string $cropped, int $parent_attachment_id )
Create an attachment ‘object’.
Parameters
- $cropped
-
(Required) Cropped image URL.
- $parent_attachment_id
-
(Required) Attachment ID of parent image.
Return
(array) An array with attachment object data.
Source
File: wp-admin/includes/class-custom-image-header.php
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |