wcml_gui_additional_box_html

The WooCommerce Multilingual wcml gui additional box html hook.

Description

do_action( 'wcml_gui_additional_box_html', (unknown) $instance, (unknown) $this_product_id, (unknown) $this_data ); 

Parameters (3)

0. $instance (unknown)
The instance.
1. $this_product_id (unknown)
The this product id.
2. $this_data (unknown)
The this data.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wcml_gui_additional_box_html', $instance, $this_product_id, $this_data ); 
The following example is for adding a hook callback.
  1. // define the wcml_gui_additional_box_html callback 
  2. function action_wcml_gui_additional_box_html( $instance, $this_product_id, $this_data ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wcml_gui_additional_box_html', 'action_wcml_gui_additional_box_html', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'wcml_gui_additional_box_html', 'action_wcml_gui_additional_box_html', 10, 3 ); 

Defined (1)

The action is defined in the following location(s).

/inc/translation-editor/class-wcml-editor-ui-product-job.php  
  1. do_action( 'wcml_gui_additional_box_html', $this, $this->product_id, $this->data );