WordPress at a glance
Home Functions WooCommerce

WooCommerce (category)

get_woocommerce_currencies()

Get full list of currency codes.

get_woocommerce_currency()

Gets site currency code. For example: RUB.

wc()

Main instance of WooCommerce.

wc_clean()

Clean variables using sanitize_text_field. Arrays are cleaned recursively. Non-scalar values are ignored.

wc_dropdown_variation_attribute_options()

Output a list of variation attributes for use in the cart forms.

wc_format_phone_number()

Format phone numbers.

wc_get_order()

Gets the data of the specified order in Woocommerce. This is a wrapper function to get the order object, through which you can get any data of the order and its elements.

wc_get_product_id_by_sku()

Get product ID by SKU.