Summery Summery
Create an attachment ‘object’.
Syntax Syntax
Parameters Parameters
- $cropped
-
(Required) Cropped image URL.
- $parent_attachment_id
-
(Required) Attachment ID of parent image.
Return Return
(array) Attachment object.
Source Source
File: wp-admin/custom-header.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |