WPML
SignaturePHP
add_action( 'wcml_after_save_custom_prices', 'the_callback_function', 10, 1 );

Description

  • This action is triggered when creating or editing the original products only.

Arguments

There is one parameter being passed to this action:

  • $product_idinteger

    The ID of original product.

Example Usage

PHP
add_action( 'wcml_after_save_custom_prices', 'my_custom_action', 10, 1 );

function my_custom_action( $product_id ) {

	// my custom action

}