Skip Navigation
availability:

WooCommerce Multilingual Version: 3.8.1

description:
type:
action
category:
Miscellaneous
parameters:
add_action( 'wcml_gui_additional_box_html', 'the_callback_function', 10, 3 );

There are three parameters being passed to this action:

$obj
(object) The translation job object.
$product_id
(integer) The ID of original product.
$data
(array) The translation job data array.
hook example usage:

Example

1
2
3
4
5
6
7
add_action( 'wcml_gui_additional_box_html', 'my_custom_action', 10, 3 );
 
function my_custom_action( $obj, $product_id, $data ) {
 
    // my custom action
 
}