1. Home
  2. WC Vendors Pro
  3. Developer Documentation
  4. Pro Filter Hooks
  5. wcv_partial_path_pro_user_shipping_country_rate

wcv_partial_path_pro_user_shipping_country_rate

Description

apply_filters( 'wcv_partial_path_pro_user_shipping_country_rate' , $this->base_dir . 'admin/partials/vendor/wcvendors-pro-user-meta-shipping-country-rate.php' )

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

// hand edit this example
$str = apply_filters( 'wcv_partial_path_pro_user_shipping_country_rate' , $param );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter_wcv_partial_path_pro_user_shipping_country_rate callback
function filter_wcv_partial_path_pro_user_shipping_country_rate( $param ) {
  // do your thing here :-) ... 

  return $str; 
}
add_filter( 'wcv_partial_path_pro_user_shipping_country_rate','filter_wcv_partial_path_pro_user_shipping_country', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_partial_path_pro_user_shipping_country_rate', 'filter_wcv_partial_path_pro_user_shipping_coountry_rate', 10, 1 );

Defined

This filter is defined in the following source file(s)

  • wcvendors-pro/admin/partials/product/wcvendors-pro-vendor-shipping-panel.php line 24

filters

Updated on January 9, 2017

Was this article helpful?