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

wcv_partial_path_pro_product_vendor_shipping_panel

Description

apply_filters( 'wcv_partial_path_pro_product_vendor_shipping_panel', 'partials/product/wcvendors-pro-vendor-shipping-panel.php' );

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

$str = apply_filters( 'wcv_partial_path_pro_product_vendor_shipping_panel', $param );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $str; 
}
add_filter( 'wcv_partial_path_pro_product_vendor_shipping_panel', 'filter_wcv_partial_path_pro_product_vendor_shipping_panel', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcv_partial_path_pro_product_vendor_shipping_panel', 'filter_wcv_partial_path_pro_product_vendor_shipping_panel', 10, 1 );

Defined

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

  • wcvendors-pro/admin/class-wcvendors-pro-shipping-controller.php line 547
    include( apply_filters( 'wcv_partial_path_pro_product_vendor_shipping_panel', 'partials/product/wcvendors-pro-vendor-shipping-panel.php' ) );

filters

Updated on January 9, 2017

Was this article helpful?