WP_Customize_Site_Icon_Control::__construct()
Constructor.
Метод класса: WP_Customize_Site_Icon_Control{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WP_Customize_Site_Icon_Control = new WP_Customize_Site_Icon_Control(); $WP_Customize_Site_Icon_Control->__construct( $manager, $id, $args );
- $manager(WP_Customize_Manager) (обязательный)
- Customizer bootstrap instance.
- $id(строка) (обязательный)
- Control ID.
- $args(массив)
- Arguments to override class property defaults. See WP_Customize_Control::__construct() for information on accepted arguments.
По умолчанию: empty array
Заметки
- Смотрите: WP_Customize_Control::__construct()
Список изменений
С версии 4.3.0 | Введена. |
Код WP_Customize_Site_Icon_Control::__construct() WP Customize Site Icon Control:: construct WP 6.2.2
public function __construct( $manager, $id, $args = array() ) { parent::__construct( $manager, $id, $args ); add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 ); }