/**
  * @since 2.0.8
  */
 private static function do_get_shortcode($args)
 {
     // reverse compatability for [get-param] shortcode
     if (strpos($args['matches'][0][$args['match_key']], '[get-') === 0) {
         $val = $args['matches'][0][$args['match_key']];
         $param = str_replace('[get-', '', $val);
         if (preg_match('/\\[/s', $param)) {
             $val .= ']';
         } else {
             $param = trim($param, ']');
             //only if is doesn't create an imbalanced []
         }
         $new_value = FrmFieldsHelper::process_get_shortcode(compact('param'), $args['allow_array']);
     } else {
         $atts = $args['shortcode_atts'];
         $atts['prev_val'] = $args['prev_val'];
         $new_value = FrmFieldsHelper::dynamic_default_values($args['shortcode'], $atts, $args['allow_array']);
     }
     return $new_value;
 }