Display Dimensions fields like width, height and etc
Code Sample:
array(
'id' => 'dimensions_field5',
'title' => __('Dimensions Field','text-domain'),
'details' => __('Description of Dimensions field','text-domain'),
'type' => 'dimensions',
'placeholder' => __('Text value','text-domain'),
'default' => array(
'width' => '45',
'height' => '45',
),
'args' => array(
'width' => __('Width','text-domain'),
'height' => __('Height','text-domain'),
),
),
Preview:

