public static function get_atts($atts) { $currentShortcode = HEIBShortcode::getCurrentShortCode(); if (!is_null($currentShortcode)) { $defAtts = $currentShortcode->get_atts(); $res = shortcode_atts($defAtts, $atts); } else { $res = $atts; } return $res; }