/**
  * Main Social Icons Instance.
  *
  * Ensure only one instance of Social Icons is loaded or can be loaded.
  *
  * @static
  * @see    SI()
  * @return Social_Icons - Main instance.
  */
 public static function get_instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Beispiel #2
0
            return;
        }
        //CSS
        //if( wp_style_is( 'js_composer_front', 'registered' ) ) wp_print_styles('js_composer_front');
        //JS
        //wp_print_scripts('jquery-plugin');
    }
    static function internal_script()
    {
        if (!self::$add_script) {
            return;
        }
        ?>
			
			<script type="text/javascript">
				if ( undefined !== window.jQuery ) { jQuery(function ($) { 'use strict';
					
					
					
				}); }
			</script>
			
			<style>
				
								
			</style>
		<?php 
    }
}
Social_Icons::init();