예제 #1
0
 /**
  * Returns the running object
  *
  * @return Myprefix_Admin
  **/
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new IDP_Slider_lite_Admin();
         self::$instance->hooks();
     }
     return self::$instance;
 }
 /**
  * Returns the running object
  *
  * @return Myprefix_Admin
  **/
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new Myprefix_Admin();
         self::$instance->hooks();
     }
     return self::$instance;
 }
/**
 * Helper function to get/return the Myprefix_Admin object
 * @since  0.1.0
 * @return Myprefix_Admin object
 */
function myprefix_admin()
{
    static $object = null;
    if (is_null($object)) {
        $object = new Myprefix_Admin();
        $object->hooks();
    }
    return $object;
}
/**
 * Helper function to get/return the Myprefix_Admin object
 * @since  0.1.0
 * @return Myprefix_Admin object
 */
function wp_responsive_images_admin()
{
    static $object = null;
    if (is_null($object)) {
        $object = new Myprefix_Admin();
        $object->hooks();
    }
    return $object;
}