Shayan Emami
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Litespeed Cache And Product Bundle Pluginadd_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
In reply to: [LiteSpeed Cache] Litespeed Cache And Product Bundle PluginI 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
In reply to: [LiteSpeed Cache] Litespeed Cache And Product Bundle Pluginlet me take a look at source code, i will post it here for you
Forum: Plugins
In reply to: [LiteSpeed Cache] Litespeed Cache And Product Bundle Plugini 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
In reply to: [LiteSpeed Cache] Litespeed Cache And Product Bundle PluginHi @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 }
Update, I Removed Wordfenece Compeletly
Reinstall it when i had no plugin active,
then i active new wordfenece
reactive rest of plugins
now every thing seems working fine.I tried to remove wordfence and reinstall it, still i get 502 error when im installing it.
Forum: Reviews
In reply to: [Coming Soon & Maintenance Mode by Colorlib] Good But Need improvementTnx For Great Response.