/** * Empties the registered posts cache variable. * * Added for testing purposes. */ public static function unregister_all() { self::$posts = array(); }