add_action( 'wcml_currency_switcher', 'the_callback_function' );
- Typ
- action
- Kategorie
- Mehrwährungsfunktion
- Version von WooCommerce Multilingual
- 3.9
Beschreibung
Aktionen ausführen, wenn das Währungsumschalter-Widget generiert wird.
Argumente
Diese Aktion hat keine Parameter.Anwendungsbeispiel
Beispiel
add_action( 'wcml_currency_switcher', 'my_custom_action' );
function my_custom_action() {
// my custom action
}
Verwandte Hooks
wcml_custom_prices_fields_labels, wcml_is_cache_enabled_for_switching_currency, wcml_geolocation_get_user_country, wcml_user_store_strategy, wcml_rounded_price, wcml_currencies_without_cents, wcml_product_custom_prices, wcml_custom_prices_strings, wcml_switch_currency, wcml_custom_prices_fields