woocommerce_geolocation_ajax_get_location_hash

woocommerce_geolocation_ajax_get_location_hash

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_geolocation_ajax_get_location_hash') is found 1 times:

  • /includes/class-wc-cache-helper.php line 143
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
         * @param string      $location_hash The hash used for geolocation.
         * @param array       $location      The location/address data.
         * @param WC_Customer $customer      The current customer object.
         */
        return apply_filters( 'woocommerce_geolocation_ajax_get_location_hash', $location_hash, $location, $customer );
    }
     
    /**
     * Prevent caching on certain pages
     */
    public static function prevent_caching() {