Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #47692, comment 1


Ignore:
Timestamp:
07/13/2019 07:21:26 AM (6 years ago)
Author:
chintan1896
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47692, comment 1

    v2 v3  
    44<?php
    55$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'optgroup_example', array(
    6                 'label'                         => esc_attr__( 'Optgroup example', 'text-domain' ),
    7                 'setting'                       => 'optgroup_example',
     6                'label'             => esc_attr__( 'Optgroup example', 'text-domain' ),
     7                'setting'           => 'optgroup_example',
    88                'type'              => 'select',
    99                'optgroup'          => true,