WooCommerce Code Reference

CurrencyPosition
in package

Enum class for the possible values of the `woocommerce_currency_pos` option, which determines where the currency symbol appears relative to the price.

Tags
since
11.0.0

Table of Contents

LEFT  = 'left'
Display the currency symbol to the left of the price.
LEFT_SPACE  = 'left_space'
Display the currency symbol to the left of the price, separated by a space.
RIGHT  = 'right'
Display the currency symbol to the right of the price.
RIGHT_SPACE  = 'right_space'
Display the currency symbol to the right of the price, separated by a space.

Constants

LEFT_SPACE

Display the currency symbol to the left of the price, separated by a space.

public string LEFT_SPACE = 'left_space'

RIGHT_SPACE

Display the currency symbol to the right of the price, separated by a space.

public string RIGHT_SPACE = 'right_space'