SignaturePHP
add_action( 'wcml_currency_switcher', 'the_callback_function' );
Arguments
This action has no parameters.
Example Usage
PHP
add_action( 'wcml_currency_switcher', 'my_custom_action' ); function my_custom_action() { // my custom action }
Run actions when the currency switcher widget is being generated.
add_action( 'wcml_currency_switcher', 'the_callback_function' );
This action has no parameters.
add_action( 'wcml_currency_switcher', 'my_custom_action' ); function my_custom_action() { // my custom action }