/** * Create a set of default wishlists for every new user. * * Remove this snippet if the wishlist plugin adds this feature natively. */ add_action( 'user_register', 'my_seed_default_wishlists', 20 ); function my_seed_default_wishlists( $user_id ) { // Bail if the wishlist plugin is not active. if ( ! class_exists( '\SaveToWishlist\Classes\Factories\Collections' ) ) { return; } // Edit these names. The FIRST one becomes the user's default wishlist. $wishlist_names = array( 'Wishlist', 'Backlog', 'Played' ); // Only ever seed a user once. if ( get_user_meta( $user_id, '_my_default_wishlists_seeded', true ) ) { return; } $collections = \SaveToWishlist\Classes\Factories\Collections::instance(); $first_id = 0; foreach ( $wishlist_names as $index => $name ) { $created = $collections->save_collection( array( 'user_id' => $user_id, 'name' => $name, 'description' => '', 'status' => 'publish', 'is_default' => 0 === $index ? 1 : 0, 'is_public' => 0, ) ); if ( 0 === $index && ! empty( $created->id ) ) { $first_id = (int) $created->id; } } // Make sure the first wishlist ends up as the default one. if ( $first_id ) { $collections->update_default_wishlist( $user_id ); $collections->update_default_wishlist( $user_id, 1, $first_id ); } update_user_meta( $user_id, '_my_default_wishlists_seeded', 1 ); }

Buddy Simulator 1984 – Review

Buddy Simulator 1984 created by Not a Sailor Studios is an immersive experience that simulates hanging out with a new best friend. Your new buddy learns and adapts its games to suit you and your interests to make it as fun as it can be. This is what it is on the surface, but deep down it’s a chilling and secret filled story with twists at every turn.

Read More

Silent Hill 2 Remake – Through fresh eyes

I’ll start this review by saying one thing, this is only the 2nd ever Silent Hill I have played. For someone who loves survival horror, that shocks me to, but I’ve always been a Resident Evil fan boy. I played the original Silent Hill not too long ago and was interested, but found it a bit of an odd game to really get in to, considering the more action heavy likes of Resident Evil. However when the remake was released, I NEEDED to play it and I’m so glad I did.

Read More