Control::__construct( string $id, array $setting_args, array $control_args, string $custom_control = null, array $partial = null )
Cnstructor.
Parameters
- $id
-
(Required) the control id.
- $setting_args
-
(Required) the add_setting array.
- $control_args
-
(Required) the add_control array.
- $custom_control
-
(Optional) [optional] this should be added if the control is a custom control.
Default value: null
- $partial
-
(Optional) [optional] this should be added if the control is a selective refresh control..
Default value: null
Source
File: inc/customizer/types/control.php
Expand full source code Collapse full source code View on Github
Related
Used By
Used By | Description |
---|---|
includes/modules/blog_pro/customizer/single_post.php: Single_Post::add_related_posts_typography_controls() |
Add related posts typography options. |
inc/customizer/options/layout_blog.php: Layout_Blog::add_featured_post() |
Add featured post controls. |
includes/modules/blog_pro/customizer/blog_pro.php: Blog_Pro::add_featured_post_controls() |
Add controls for featured post. |
includes/modules/easy_digital_downloads/customizer/typography.php: Typography::add_archive_meta_controls() |
Add EDD archive meta typography controls. |
includes/modules/easy_digital_downloads/customizer/typography.php: Typography::add_archive_title_controls() |
Add EDD archive title typography controls. |
includes/modules/easy_digital_downloads/customizer/typography.php: Typography::add_single_title_controls() |
Add EDD single download title typography controls. |
includes/modules/easy_digital_downloads/customizer/typography.php: Typography::add_single_meta_controls() |
Add EDD single download meta typography controls. |
includes/modules/easy_digital_downloads/customizer/layout.php: Layout::add_archive_downloads_layout_controls() |
Add EDD archive layout controls. |
includes/modules/post_type_enhancements/customizer/blog_pro_cpt.php: Blog_Pro_CPT::add_blog_pro_post_meta_controls() |
Register Blog Pro post meta controls |
includes/modules/post_type_enhancements/customizer/blog_pro_cpt.php: Blog_Pro_CPT::add_read_more_controls() |
Register Blog Pro read more controls. |
includes/modules/post_type_enhancements/customizer/blog_pro_cpt.php: Blog_Pro_CPT::add_blog_pro_layout_controls() |
Register Blog Pro layout controls. |
includes/modules/post_type_enhancements/customizer/blog_pro_cpt.php: Blog_Pro_CPT::add_ordering_content_controls() |
Register Blog Pro ordering content controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_archive.php: Layout_CPT_Archive::add_typography_shortcut() |
Add typography shortcut. |
includes/modules/post_type_enhancements/customizer/layout_cpt_archive.php: Layout_CPT_Archive::use_custom_control() |
Register a new control that toggles if the custom options should apply or if the single posts defaults are used. |
includes/modules/post_type_enhancements/customizer/layout_cpt_archive.php: Layout_CPT_Archive::add_layout_controls() |
Add blog layout controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_archive.php: Layout_CPT_Archive::add_content_ordering_controls() |
Add content ordering and controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_archive.php: Layout_CPT_Archive::add_post_meta_controls() |
Add controls for post meta. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::headings() |
Add headings controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::sharing() |
Add single post sharing controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::related_posts() |
Related Custom Posts customizer controls |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::author_box() |
Add author box settings. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::post_navigation() |
Add post navigation related controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::header_layout() |
Add header layout controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::comments() |
Add comments controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::post_meta() |
Add post meta controls. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::add_subsections() |
Add sections headings. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::control_content_order() |
Add content order control. |
includes/modules/post_type_enhancements/customizer/layout_cpt_single.php: Layout_CPT_Single::use_custom_control() |
Register a new control that toggles if the custom options should apply or if the single posts defaults are used. |
inc/customizer/options/checkout.php: Checkout::group_controls() |
Add control groups to better organize the customizer. |
inc/customizer/options/upsells.php: Upsells::checkout_locked_layout() |
Locked Checkout Layouts |
inc/customizer/options/layout_single_page.php: Layout_Single_Page::add_controls() |
Function that should be extended to add customizer controls. |
inc/customizer/options/base_layout_single.php: Base_Layout_Single::add_header_layout_controls() |
Add controls for header layout. |
inc/customizer/options/base_layout_single.php: Base_Layout_Single::add_header_layout_subsection() |
Add header layout accordion. |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::post_navigation() |
Add post navigation related controls. |
inc/customizer/options/main.php: Main::add_skin_switcher() |
Add the skin switcher. |
inc/customizer/options/layout_single_post.php: Layout_Single_Post::comments() |
Add comments controls. |
inc/customizer/options/layout_single_post.php: Layout_Single_Post::post_meta() |
Add post meta controls. |
inc/customizer/options/layout_single_post.php: Layout_Single_Post::header_layout() |
Add header layout controls. |
inc/customizer/options/layout_single_post.php: Layout_Single_Post::add_subsections() |
Add sections headings. |
inc/customizer/options/buttons.php: Buttons::add_legacy_controls() |
Adds Legacy Controls |
inc/customizer/base_customizer.php: Base_Customizer::add_boxed_layout_controls() |
Function to add controls that form the boxed layout. |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::related_posts() |
Related Posts customizer controls |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::author_box() |
Add author box settings. |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::sharing() |
Add single post sharing controls. |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::comments() |
Add comments customizer controls. |
includes/modules/blog_pro/customizer/single_post.php: Single_Post::headings() |
Add headings controls. |
inc/customizer/options/typography.php: Typography::controls_typography_blog() |
Add controls for blog typography. |
inc/customizer/options/typography.php: Typography::controls_typography_headings() |
Add controls for typography headings. |
inc/customizer/options/typography.php: Typography::controls_typography_general() |
Add general typography controls |
inc/customizer/options/layout_single_product.php: Layout_Single_Product::exclusive_products_controls() |
Add customizer controls for exclusive products section. |
inc/customizer/options/layout_blog.php: Layout_Blog::add_typography_shortcut() |
Add typography shortcut. |
inc/customizer/options/layout_blog.php: Layout_Blog::add_layout_controls() |
Add blog layout controls. |
inc/customizer/options/layout_blog.php: Layout_Blog::add_content_ordering_controls() |
Add content ordering and controls. |
inc/customizer/options/layout_blog.php: Layout_Blog::add_post_meta_controls() |
Add controls for post meta. |
inc/customizer/options/upsells.php: Upsells::control_upsells() |
Add upsells controls |
inc/customizer/options/layout_container.php: Layout_Container::control_container_style() |
Add container style controls |
inc/customizer/options/layout_container.php: Layout_Container::control_container_width() |
Add container width control |
inc/customizer/options/layout_sidebar.php: Layout_Sidebar::add_advanced_controls() |
Advanced controls. |
inc/customizer/options/layout_sidebar.php: Layout_Sidebar::add_main_controls() |
Site-wide controls that will affect all pages. |
inc/customizer/options/form_fields.php: Form_Fields::add_button_controls() |
Form button controls. |
inc/customizer/options/form_fields.php: Form_Fields::add_input_text_controls() |
Form inputs controls. |
inc/customizer/options/form_fields.php: Form_Fields::add_form_labels_controls() |
Form labels controls. |
inc/customizer/options/form_fields.php: Form_Fields::add_form_fields_controls() |
Form fields controls. |
inc/customizer/options/layout_single_post.php: Layout_Single_Post::control_content_order() |
Add content order control. |
inc/customizer/options/colors_background.php: Colors_Background::add_global_colors() |
Add global colors. |
inc/customizer/options/buttons.php: Buttons::add_controls() |
Function that should be extended to add customizer controls. |
includes/modules/blog_pro/customizer/blog_pro.php: Blog_Pro::add_ordering_content_controls() |
Add ordering controls. |
includes/modules/blog_pro/customizer/blog_pro.php: Blog_Pro::add_read_more_controls() |
Read More Options |
includes/modules/blog_pro/customizer/blog_pro.php: Blog_Pro::add_post_meta_controls() |
Add post meta controls. |
includes/modules/blog_pro/customizer/blog_pro.php: Blog_Pro::add_blog_layout_controls() |
Add blog layout controls. |
includes/modules/header_footer_grid/customizer/transparent_header.php: Transparent_Header::add_controls() |
Add the transparent header control. |
includes/modules/header_footer_grid/customizer/conditional_headers.php: Conditional_Headers::add_controls() |
Add customizer controls. |
includes/modules/woocommerce_booster/customizer/typography.php: Typography::controls_typography_shop() |
Add controls for shop typography. |
includes/modules/woocommerce_booster/customizer/payment_icons.php: Payment_Icons::add_payment_icons_controls() |
Add Payment Controls |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_sticky_add_to_cart_controls() |
Add sticky add to cart controls |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_sticky_add_to_cart_accordion() |
Add sticky add to cart accordion |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_gallery_layout_control() |
Add gallery layout control. |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_checkboxes() |
Add checkbox controls. |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_related_accordion() |
Adds related products settings accordion |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_order_control() |
Add component ordering. |
includes/modules/woocommerce_booster/customizer/single_product.php: Single_Product::add_related_count() |
Add related products number control. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_card_image_controls() |
Controls that change the way that product image looks. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_card_content_controls() |
Controls for card content. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_sale_tag_controls() |
Add sale tag customizer controls. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::group_controls() |
Add control groups to better organize the customizer. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_page_layout_controls() |
Controls that refer to page layout. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_product_card_layout_controls() |
Controls that refer to product card layout. |
includes/modules/woocommerce_booster/customizer/shop_page.php: Shop_Page::add_category_card_layout_controls() |
Controls that refer to category card layout. |
includes/modules/woocommerce_booster/customizer/checkout_page.php: Checkout_Page::add_general_settings() |
Add general settings |
includes/modules/woocommerce_booster/customizer/checkout_page.php: Checkout_Page::add_checkout_style() |
Add checkout options from Neve. |
includes/modules/woocommerce_booster/customizer/checkout_page.php: Checkout_Page::group_controls() |
Add control groups to better organize the customizer. |
includes/modules/woocommerce_booster/customizer/cart_page.php: Cart_Page::add_checkboxes() |
Add checkbox controls. |
includes/modules/woocommerce_booster/customizer/cart_page.php: Cart_Page::add_layout_style_controls() |
Add gallery layout control. |
includes/modules/lifterlms_booster/customizer/course_membership.php: Course_Membership::add_course_layout_controls() |
Add course customizer controls. |
includes/modules/lifterlms_booster/customizer/course_membership.php: Course_Membership::add_membership_layout_controls() |
Add membership customizer controls. |
includes/modules/lifterlms_booster/customizer/course_membership.php: Course_Membership::add_colors() |
Add colors for LifterLMS. |
includes/modules/scroll_to_top/customizer/scroll_to_top.php: Scroll_To_Top::scroll_to_top_style_controls() |
Add style controls for Scroll to top module. |
includes/modules/scroll_to_top/customizer/scroll_to_top.php: Scroll_To_Top::scroll_to_top_options() |
Register option toggle in customizer |