WP_Customize_Site_Icon_Control::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

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

Parameters Parameters

$manager

(Required) Customizer bootstrap instance.

$id

(Required) Control ID.

$args

(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-site-icon-control.php

	public function __construct( $manager, $id, $args = array() ) {
		parent::__construct( $manager, $id, $args );
		add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

See also See also

Advertisement

Leave a Reply