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

(string) (Required) Cropped image URL.

$parent_attachment_id

(int) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.