'https://a360.autodesk.com',
'width' => '1024' ,
'height' => '768'
);
foreach ( $defaults as $default => $value ) { // add defaults
if ( ! @array_key_exists( $default, $atts ) ) { // mute warning with "@" when no params at all
$atts[$default] = $value;
}
}
$html .= '
'."\n";
return $html;
}
add_shortcode('a360', 'truevisA360_func');