get_woocommerce_currency()
Get Base Currency Code.
Description #Description
Return #Return
(string)
Source #Source
File: includes/wc-core-functions.php
function get_woocommerce_currency() { return apply_filters( 'woocommerce_currency', get_option( 'woocommerce_currency' ) ); }
Related #Related
Used By #Used By
Used By | Description |
---|---|
packages/woocommerce-admin/src/Features/Onboarding.php: Onboarding::send_profile_data() |
Send profile data to WooCommerce.com. |
packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php: AssetDataRegistry::get_currency_data() |
Get currency data to include in settings. |
packages/woocommerce-blocks/src/StoreApi/Formatters/CurrencyFormatter.php: CurrencyFormatter::format() |
Format a given value and return the result. |
packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php: OrderController::update_order_from_cart() |
Update an order using data from the current cart. |
packages/woocommerce-blocks/src/Payments/Integrations/Stripe.php: Stripe::get_icons() |
Return the icons urls. |
includes/admin/class-wc-admin-setup-wizard.php: WC_Admin_Setup_Wizard::get_wizard_in_cart_payment_gateways() |
Simple array of “in cart” gateways to show in wizard. |
includes/admin/class-wc-admin-setup-wizard.php: WC_Admin_Setup_Wizard::wc_setup_shipping() |
Shipping. |
includes/wc-core-functions.php: get_woocommerce_currency_symbol() |
Get Currency symbol. |
includes/wc-core-functions.php: wc_create_order() |
Create a new order programmatically. |
includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php: WC_Gateway_Paypal_Request::get_transaction_args() |
Get transaction args for paypal request, except for line item args. |
includes/gateways/paypal/class-wc-gateway-paypal.php: WC_Gateway_Paypal::is_valid_for_use() |
Check if this gateway is available in the user’s country based on currency. |
includes/class-wc-structured-data.php: WC_Structured_Data::generate_product_data() |
Generates Product structured data. |
includes/legacy/api/v2/class-wc-api-server.php: WC_API_Server::get_index() |
Get the site index. |
includes/data-stores/abstract-wc-order-data-store-cpt.php: Abstract_WC_Order_Data_Store_CPT::create() |
Method to create a new order in the database. |
includes/abstracts/abstract-wc-order.php: WC_Abstract_Order::set_currency() |
Set order_currency. |
includes/class-wc-checkout.php: WC_Checkout::create_order() |
Create an order. Error codes: 520 – Cannot insert order into the database. |
includes/class-wc-tracker.php: WC_Tracker::get_all_woocommerce_options_values() |
Get all options starting with woocommerce_ prefix. |
packages/woocommerce-admin/src/Features/ShippingLabelBannerDisplayRules.php: ShippingLabelBannerDisplayRules::store_in_us_and_usd() |
Checks if the store is in the US and has its default currency set to USD. |
packages/woocommerce-admin/src/Loader.php: Loader::get_currency_settings() |
Return an object defining the currecy options for the site’s current currency |
includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php: WC_REST_Orders_V1_Controller::get_item_schema() |
Get the Order’s schema, conforming to JSON Schema. |
includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php: WC_REST_System_Status_V2_Controller::get_settings() |
Get some setting values for the site that are useful for debugging purposes. For full settings access, use the settings api. |
includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php: WC_REST_Orders_V2_Controller::get_item_schema() |
Get the Order’s schema, conforming to JSON Schema. |