메소드 | 설명 | |
---|---|---|
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 |