woocommerce_bulk_edit_variations_default

The WooCommerce woocommerce bulk edit variations default hook.

Description

do_action( 'woocommerce_bulk_edit_variations_default', (unknown) $bulk_action, (unknown) $data, (unknown) $product_id, (unknown) $variations ); 

Parameters (4)

0. $bulk_action (unknown)
The bulk action.
1. $data (unknown)
The data.
2. $product_id (unknown)
The product id.
3. $variations (unknown)
The variations.

Usage

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

Defined (1)

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

/includes/class-wc-ajax.php  
  1. do_action( 'woocommerce_bulk_edit_variations_default', $bulk_action, $data, $product_id, $variations );