woocs_currency_symbols
This hook can be used for adding any custom currency symbols with public function init_currency_symbols of the plugin.
public function init_currency_symbols() { //includes/wc-core-functions.php #217 $this->currency_symbols = array( '$', '€', '¥', 'руб.', 'грн.', '₩', 'TL', 'د.إ', '৳', 'R$', 'лв.', 'kr', 'R', 'Kč', 'RM', 'kr.', 'Ft', 'Rp', 'Rs', 'Kr.', '₪', '₱', 'zł', 'kr', 'CHF', 'NT$', '฿', '£', 'lei', '₫', '₦', 'Kn', '-----' ); $this->currency_symbols = apply_filters('woocs_currency_symbols', array_merge($this->currency_symbols, $this->get_customer_signs())); }
Use it as:
add_filter('woocs_price_html_tail', function($symbols) { $symbols[]="xXx"; return $symbols; });
p.s. For add any custom symbols use the plugin special option ‘Custom money signs‘: