";
// };
// function svg_logo_use($icon_name, $div_class = '', $svg_title = 'Logo') {
// $div_class .= ' logo';
// $output = "";
// };
function inline_svg(
$svg_name,
$div_class = 'icon',
$svg_class = '',
$svg_title = '',
$svg_role_img = false,
$svg_aria_hidden = true) {
$svg_content = file_get_contents( get_template_directory_uri() . '/dist/images/' . $svg_name . '.svg' );
$to_replace = $svg_class == '' ? 'class="{{class-placeholder}}"' : '{{class-placeholder}}';
$svg_content = str_replace($to_replace, $svg_class, $svg_content);
$svg_content = $svg_role_img ? str_replace('