Custom_Image_Header::insert_attachment

Advertisement

Summery Summery

Insert an attachment and its metadata.

Syntax Syntax

Custom_Image_Header::insert_attachment( array $object, string $cropped )

Parameters Parameters

$object

(Required) Attachment object.

$cropped

(Required) Cropped image URL.

Return Return

(int) Attachment ID.

Source Source

File: wp-admin/custom-header.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Advertisement

Leave a Reply