array( * 'label' => __( 'Padding left', 'so-widgets-bundle' ), * 'units' => array( 'px', 'rem', 'em', '%' ), * ), * 'padding_right' => __( 'Padding right', 'so-widgets-bundle' ), * 'padding_bottom' => __( 'Padding bottom', 'so-widgets-bundle' ), * 'padding_top' => __( 'Padding top', 'so-widgets-bundle' ), * )` * * The 'units' property is optional and defaults to the list returned by `siteorigin_widgets_get_measurements_list`. * * @access protected * @var array */ protected $measurements; /** * String separator for the measurements. Default is an empty space. * * @access protected * @var string */ protected $separator; /** * Whether to automatically fill the rest of the inputs when the first value is entered. * Default is false. * * @access protected * @var boolean */ protected $autofill; protected function get_default_options() { return array( 'separator' => ' ', 'autofill' => false, ); } protected function render_field( $value, $instance ) { ?>