Title: Shayan Emami's Replies | WordPress.org

---

# Shayan Emami

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed Cache And Product Bundle Plugin](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/#post-17428155)
 * `add_action( 'woocommerce_product_bundle_updated', 'purge_litespeed_cache' );`
   `
   function purge_litespeed_cache( $bundle_id ) {`` do_action( 'litespeed_purge_post',
   $bundle_id); ``}`You Mean like this ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed Cache And Product Bundle Plugin](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/#post-17428123)
 * I Checked Database it was a BIGINT, also if you check source code, its only an
   id just like a normal product id as far as i understand. 
   for example : $bundle_id
   = $this->product->get_id();this is what i found in their source code.
 * Also i should mention that, a bundle product is just another woocommerce product
   type ( like virtual, physical etc ) 
   we can hook the purge function to normal
   woocommerce product update if it was a bundle i guss. but what my consern is 
   why its caching the detail in the first place, and its not caching normal woocommerce
   product.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed Cache And Product Bundle Plugin](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/#post-17428093)
 * let me take a look at source code, i will post it here for you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed Cache And Product Bundle Plugin](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/#post-17428090)
 * i guss it should be a single product, becuase product bundle, create a single
   product that only shows related products in one page. so it should be a single
   id, like the main product id.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed Cache And Product Bundle Plugin](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/litespeed-cache-and-product-bundle-plugin/#post-17428040)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/) i contact them and they
   sent me this :
   `add_action( 'woocommerce_product_bundle_updated', 'purge_litespeed_cache');
   function purge_litespeed_cache( $bundle_id ) { // Add your code here to purge
   the LiteSpeed Cache }`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Activing Wordfence Gives me 502 error](https://wordpress.org/support/topic/activing-wordfence-gives-me-502-error/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/activing-wordfence-gives-me-502-error/#post-16987964)
 * Update, I Removed Wordfenece Compeletly 
   Reinstall it when i had no plugin active,
   then i active new wordfenecereactive rest of pluginsnow every thing seems working
   fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Activing Wordfence Gives me 502 error](https://wordpress.org/support/topic/activing-wordfence-gives-me-502-error/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/activing-wordfence-gives-me-502-error/#post-16987911)
 * I tried to remove wordfence and reinstall it, still i get 502 error when im installing
   it.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Coming Soon & Maintenance Mode by Colorlib] Good But Need improvement](https://wordpress.org/support/topic/good-but-need-improvement-3/)
 *  Thread Starter [Shayan Emami](https://wordpress.org/support/users/zagool/)
 * (@zagool)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/good-but-need-improvement-3/#post-13236166)
 * Tnx For Great Response.

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