/** * Singleton handling for a basic pods_admin() request * * @return \PodsAdmin * * @since 2.3.5 */ public static function init() { if (!is_object(self::$instance)) { self::$instance = new PodsAdmin(); } return self::$instance; }
/** * Include and Init the PodsAdmin class * * @see PodsAdmin * * @return PodsAdmin * * @since 2.0 */ function pods_admin() { require_once PODS_DIR . 'classes/PodsAdmin.php'; return PodsAdmin::init(); }