Skip to content

Instantly share code, notes, and snippets.

@sourovroy
Created June 30, 2022 07:08
Show Gist options
  • Save sourovroy/c2746cd364eb81bc5b0051e70bab606b to your computer and use it in GitHub Desktop.
Save sourovroy/c2746cd364eb81bc5b0051e70bab606b to your computer and use it in GitHub Desktop.
Update WooCommerce fragment cache
jQuery(document.body).trigger('wc_fragment_refresh');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment