How to set width and height with beans_register_wp_customize


array(
    'id' => 'field_id_2',
    'label' => 'Field label',
    'type' => 'WP_Customize_Cropped_Image_Control',
    'settings' => array(
        'height' => '300',
        'width' => '300'
    ),
    'default' => ''
),

Settings not working

'settings' => array(
    'height' => '300',
    'width' => '300'
),

Write a reply

Login or register to write a reply, it's free!