/**
 * Echo SVG markup.
 *
 * @param  string $icon_name Use the icon name, such as "facebook-square".
 */
function wds_do_svg($icon_name)
{
    echo wds_get_svg($icon_name);
    // WPCS: XSS ok.
}
 /**
  * Get the full list of SVG files
  * @return array An array of SVGs that can be used in a CMB2 option list.
  */
 public function get_svg_list()
 {
     $svgs = array();
     foreach (glob(wds_get_svg_directory() . '*.svg') as $svg) {
         $slug = str_replace(array(wds_get_svg_directory(), '.svg'), '', $svg);
         $svgs[$slug] = wds_get_svg($slug) . ' ' . ucfirst(str_replace('-', ' ', $slug));
     }
     return $svgs;
 }