WP_Customize_Site_Icon_Control::__construct()
Constructor.
Method of the class: WP_Customize_Site_Icon_Control{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Customize_Site_Icon_Control = new WP_Customize_Site_Icon_Control(); $WP_Customize_Site_Icon_Control->__construct( $manager, $id, $args );
- $manager(WP_Customize_Manager) (required)
- Customizer bootstrap instance.
- $id(string) (required)
- Control ID.
- $args(array)
- Arguments to override class property defaults. See WP_Customize_Control::__construct() for information on accepted arguments.
Default: empty array
Notes
Changelog
Since 4.3.0 | Introduced. |
WP_Customize_Site_Icon_Control::__construct() WP Customize Site Icon Control:: construct code WP 6.6.2
public function __construct( $manager, $id, $args = array() ) { parent::__construct( $manager, $id, $args ); add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 ); }