/** * Returns the main instance of Featured_Image_Sharpen_Up to prevent the need to use globals. * * @since 1.0.0 * @return object Featured_Image_Sharpen_Up */ function Featured_Image_Sharpen_Up() { $instance = Featured_Image_Sharpen_Up::instance(__FILE__, '1.0.0'); return $instance; }
/** * Main Featured_Image_Sharpen_Up Instance * * Ensures only one instance of Featured_Image_Sharpen_Up is loaded or can be loaded. * * @since 1.0.0 * @static * @see Featured_Image_Sharpen_Up() * @return Main Featured_Image_Sharpen_Up instance */ public static function instance($file = '', $version = '1.0.0') { if (is_null(self::$_instance)) { self::$_instance = new self($file, $version); } return self::$_instance; }