Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-cache-helper.php

woocommerce_enable_nocache_headers

Filter Hook: Allow plugins to enable nocache headers. Enabled for Google weblight.

Source: includes/class-wc-cache-helper.php:51

Used by 1 function | Uses 0 functions

WC_Cache_Helper::update_geolocation_hash()

Method: Updates the `woocommerce_geo_hash` cookie, which is used to help ensure we display the correct pricing etc to customers, according to their billing country.

Source: includes/class-wc-cache-helper.php:206

Used by 0 functions | Uses 1 function

WC_Cache_Helper::notices()

Method: Notices function.

Source: includes/class-wc-cache-helper.php:261

Used by 0 functions | Uses 0 functions

WC_Cache_Helper::clean_term_cache()

Method: Clean term caches added by WooCommerce.

Source: includes/class-wc-cache-helper.php:291

Used by 0 functions | Uses 0 functions

WC_Cache_Helper::delete_version_transients()

Method: When the transient version increases, this is used to remove all past transients to avoid filling the DB.

Source: includes/class-wc-cache-helper.php:319

Used by 0 functions | Uses 0 functions

WC_Cache_Helper::set_nocache_constants()

Method: Set constants to prevent caching by some plugins.

Source: includes/class-wc-cache-helper.php:251

Used by 2 functions | Uses 1 function

woocommerce_geolocation_ajax_get_location_hash

Filter Hook: WC_Cache_Helper class.

Source: includes/class-wc-cache-helper.php:136

Used by 0 functions | Uses 0 functions

WC_Cache_Helper::prevent_caching()

Method: Prevent caching on certain pages

Source: includes/class-wc-cache-helper.php:152

Used by 0 functions | Uses 2 functions

WC_Cache_Helper::geolocation_ajax_redirect()

Method: When using geolocation via ajax, to bust cache, redirect if the location hash does not equal the querystring.

Source: includes/class-wc-cache-helper.php:169

Used by 0 functions | Uses 6 functions

WC_Cache_Helper::get_transient_version()

Method: Get transient version.

Source: includes/class-wc-cache-helper.php:232

Used by 23 functions | Uses 0 functions
1 2 Next »
Proudly powered by WordPress