'; $output .= '
'; $output_text = ""; if ($text != '') { $output_text = '' . $text . ''; } $output .= '
' . $output_text . '
'; $output .= '
' . $code . '
'; $output .= '
'; $output .= ''; return $output; } public static function get_icon($type) { $icon = ""; switch ($type) { case "google" : $icon = "essb_icon_google"; break; case "facebook" : $icon = "essb_icon_facebook"; break; case "twitter" : $icon = "essb_icon_twitter"; break; case "pinterest" : $icon = "essb_icon_pinterest"; break; case "youtube" : $icon = "essb_icon_youtube"; break; case "vk" : $icon = "essb_icon_vk"; break; case "linkedin" : $icon = "essb_icon_linkedin"; break; } return $icon; } public static function get_assets() { global $essb_options; $deactivate_fa = ESSBOptionValuesHelper::options_bool_value($essb_options, 'deactivate_fa'); self::$resouce_files[] = array("key" => "easy-social-share-buttons-nativeskinned", "file" => ESSB3_PLUGIN_URL . '/assets/css/essb-native-skinned.min.css', "type" => "css"); //if (!$deactivate_fa) { // self::$resouce_files[] = array("key" => "essb-fontawsome", "file" => ESSB3_PLUGIN_URL . '/assets/css/font-awesome.min.css', "type" => "css"); //} return self::$resouce_files; } } ?>