get_current_filter_value( $args ); $from = ''; $to = ''; $date_format = isset( $args['date_format'] ) ? $args['date_format'] : ''; $from_placeholder = isset( $args['from_placeholder'] ) ? $args['from_placeholder'] : ''; $to_placeholder = isset( $args['to_placeholder'] ) ? $args['to_placeholder'] : ''; $accessibility_label = $args['accessibility_label']; $classes = array( 'jet-date-range' ); if ( '' !== $args['button_icon'] ) { $classes[] = 'button-icon-position-' . $args['button_icon_position']; } /* if ( $current ) { $formated = explode( '-', $current ); $from_placeholder = $formated[0]; $to_placeholder = $formated[1]; } */ $hide_button = isset( $args['hide_button'] ) ? $args['hide_button'] : false; ?>