Custom_Image_Header::create_attachment_object

Advertisement

Summery Summery

Create an attachment ‘object’.

Syntax Syntax

Custom_Image_Header::create_attachment_object( string $cropped, int $parent_attachment_id )

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

Changelog
Version Description
3.9.0 Introduced.

Advertisement

Leave a Reply