wc_price_based_country_process_product_pricing

The WooCommerce Product Price Based on Countries wc price based country process product pricing hook.

Description

do_action( 'wc_price_based_country_process_product_pricing', (unknown) $key_prefix, (unknown) $post_id, (unknown) $price_method, (unknown) $i ); 

Parameters (4)

0. $key_prefix (unknown)
The key prefix.
1. $post_id (unknown)
The post id.
2. $price_method (unknown)
The price method.
3. $i (unknown)
The i.

Usage

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

Defined (1)

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

/includes/admin/class-wcpbc-admin-product-data.php  
  1. do_action('wc_price_based_country_process_product_pricing', $key_prefix, $post_id, $_price_method, $i );