WP_Customize_Media_Control::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

WP_Customize_Media_Control::__construct( WP_Customize_Manager $manager, string $id, array $args = array() )

Parameters Parameters

$manager

(WP_Customize_Manager) (Required) Customizer bootstrap instance.

$id

(string) (Required) Control ID.

$args

(array) (Optional) Arguments to override class property defaults. See WP_Customize_Control::__construct() for information on accepted arguments.

Default value: array()

Source Source

File: wp-includes/customize/class-wp-customize-media-control.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Moved from WP_Customize_Upload_Control.
4.1.0 Introduced.

See also See also

Advertisement

Leave a Reply

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