mikempdev
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I asked in discord and this is the answer.
<?php // Specify the product ID you want to check $wpdudecom_product_id = 1111; // Check if the product is in the user's default wishlist if ( YITH_WCWL()->is_product_in_wishlist( $wpdudecom_product_id ) ) { echo 'Product ' . $wpdudecom_product_id . ' is in the user\'s default wishlist.'; } else { echo 'Product ' . $wpdudecom_product_id . ' is not in the user\'s default wishlist.'; } // Check if the product is in a specific wishlist $wpdudecom_wishlist_id = 123; if ( YITH_WCWL()->is_product_in_wishlist( $wpdudecom_product_id, $wpdudecom_wishlist_id ) ) { echo 'Product ' . $wpdudecom_product_id . ' is in the wishlist with ID ' . $wpdudecom_wishlist_id; } else { echo 'Product ' . $wpdudecom_product_id . ' is not in the wishlist with ID ' . $wpdudecom_wishlist_id; }Forum: Fixing WordPress
In reply to: A bit lost on how I should go about the upgrade.Using the WPVivid Staging plugin I made a copy of the site at the /staging route. I updated all of the plugins first then the wordpress version. The updates went fine so does this mean that I should update PHP? Should I update to PHP version 7.4 first or should I go straight to 8.1?
https://ibb.co/ZVGKGqc (image)I also discovered that my theme is not supported anymore. I don’t know how much of a problem that can be.
Viewing 3 replies - 1 through 3 (of 3 total)