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

(array) (Required) Attachment object.

$cropped

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

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