add_action( 'wcml_after_custom_prices_block', '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 | stringThe ID of editing product OR the string valuenewif the product is being created.
Example Usage
add_action( 'wcml_after_custom_prices_block', 'my_custom_action', 10, 1 ); function my_custom_action( $product_id ) { // my custom action }