Title: mikempdev's Replies | WordPress.org

---

# mikempdev

  [  ](https://wordpress.org/support/users/mikempdev/)

 *   [Profile](https://wordpress.org/support/users/mikempdev/)
 *   [Topics Started](https://wordpress.org/support/users/mikempdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mikempdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mikempdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mikempdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mikempdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mikempdev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Wishlist] How to check if current product in the loop is already in the wishlist?](https://wordpress.org/support/topic/how-to-check-if-current-product-in-the-loop-is-already-in-the-wishlist/)
 *  Thread Starter [mikempdev](https://wordpress.org/support/users/mikempdev/)
 * (@mikempdev)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/how-to-check-if-current-product-in-the-loop-is-already-in-the-wishlist/#post-17700940)
 * Thank you. I just edited the css because I didn’t find a way to correctly update
   the header wishlist counter.
    -  This reply was modified 2 years, 1 month ago by [mikempdev](https://wordpress.org/support/users/mikempdev/).
    -  This reply was modified 2 years, 1 month ago by [mikempdev](https://wordpress.org/support/users/mikempdev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Wishlist] How to check if current product in the loop is already in the wishlist?](https://wordpress.org/support/topic/how-to-check-if-current-product-in-the-loop-is-already-in-the-wishlist/)
 *  Thread Starter [mikempdev](https://wordpress.org/support/users/mikempdev/)
 * (@mikempdev)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/how-to-check-if-current-product-in-the-loop-is-already-in-the-wishlist/#post-17699535)
 * I asked in discord and this is the answer.
 *     ```wp-block-code
       <?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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [A bit lost on how I should go about the upgrade.](https://wordpress.org/support/topic/a-bit-lost-on-how-i-should-go-about-the-upgrade/)
 *  Thread Starter [mikempdev](https://wordpress.org/support/users/mikempdev/)
 * (@mikempdev)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/a-bit-lost-on-how-i-should-go-about-the-upgrade/#post-17542692)
 * 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](https://ibb.co/ZVGKGqc)(
   image)
 * ![](https://ibb.co/ZVGKGqc)
 * 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)