woocommerce_customer_default_location_array

woocommerce_customer_default_location_array

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_customer_default_location_array') is found 1 times:

  • /includes/wc-core-functions.php line 1415
    1411
    1412
    1413
    1414
    1415
    1416
    1417
    1418
    1419
    1420
    1421
         * @since 2.3.0
         * @param array $customer_location The customer location with keys 'country' and 'state'.
         * @return array
         */
        return apply_filters( 'woocommerce_customer_default_location_array', $default_location );
    }
     
    /**
     * Get user agent string.
     *
     * @since  3.0.0