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

Constructor.

Description

See also

Parameters

$managerWP_Customize_Managerrequired
Customizer bootstrap instance.
$idstringrequired
Control ID.
$argsarrayoptional
Arguments to override class property defaults.
See WP_Customize_Control::__construct() for information on accepted arguments.

Default:array()

Source

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

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.