'; do_action('badoblog_hook_top_soc_before'); foreach ($soc as $socf) { badoblog_fun_get_soc_set( $socf->soc_net, $socf->soc_link, $socf->soc_new_link ); } do_action('badoblog_hook_top_soc_after'); echo ''; } } } if (!function_exists('badoblog_fun_get_soc_set')) { function badoblog_fun_get_soc_set($soc_net, $soc_link, $soc_new_link) { if ($soc_new_link == 1) { $tab = 'target=_blank'; // Missing quotes are added during esc_html cleanup } else { $tab = ''; } $form = get_theme_mod('badoblog_cus_soc_form', 'circle'); $design = get_theme_mod('badoblog_cus_soc_design_back', 'volumetric'); if ($form == 'without-background') { $design = get_theme_mod('badoblog_cus_soc_design_no_back', 'only-black-line'); } $dir = ''; $dir = apply_filters('dmcwzmulti_filter_soc_dir', $dir, $form); if (empty($dir)) { $dir = get_template_directory_uri() . '/'; } $soc_url = $dir . 'img/soc/' . $form . '/' . $design . '/' . $soc_net; if ($soc_net != 'off') { ?>