WPML
add_action( 'wcml_before_multi_currency_ui', 'the_callback_function' );
Type
action
Version de WooCommerce Multilingual
3.8.1

Description

Exécuter des actions avant de générer l’onglet Multidevise dans l’écran WPML -> WPML Multilingual & Multicurrency for WooCommerce.

Arguments

Cette action n’a aucun paramètre.

Exemple d’utilisation

Exemple
add_action( 'wcml_before_multi_currency_ui', 'my_custom_action' );

function my_custom_action() {

	// my custom action

}

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

Les 24 hooks de la catégorie Fonctionnalité multidevise →