Метод | Описание | |
---|---|---|
delete_version_transients ( $version = '' ) | When the transient version increases, this is used to remove all past transients to avoid filling the DB. | |
geolocation_ajax_get_location_hash ( ) : string | Get a hash of the customer location. | |
geolocation_ajax_redirect ( ) | When using geolocation via ajax, to bust cache, redirect if the location hash does not equal the querystring. | |
get_cache_prefix ( string $group ) : string | Get prefix for use with wp_cache_set. Allows all cache in a group to be invalidated at once. | |
get_transient_version ( string $group, boolean $refresh = false ) : string | Get transient version. | |
incr_cache_prefix ( string $group ) | Increment group cache prefix (invalidates cache). | |
init ( ) | Hook in methods. | |
notices ( ) | notices function. | |
prevent_caching ( ) | Prevent caching on dynamic pages. |
Метод | Описание | |
---|---|---|
get_page_uris ( string $wc_page ) : array | Get the page name/id for a WC page. | |
nocache ( ) | Set nocache constants and headers. |
public static delete_version_transients ( $version = '' ) |
public static geolocation_ajax_get_location_hash ( ) : string | ||
Результат | string |
public static geolocation_ajax_redirect ( ) |
public static get_cache_prefix ( string $group ) : string | ||
$group | string | |
Результат | string |
public static incr_cache_prefix ( string $group ) | ||
$group | string |
public static prevent_caching ( ) |