wcvendors_shipping_due

Description

apply_filters( 'wcvendors_shipping_due', $shipping_costs, $order_id, $product, $author )

Parameters ( 4 ) ( float ), ( int ), ( unknown ), ( unknown )

Usage Examples

To run the filter, copy this sample

$value = apply_filters( 'wcvendors_shipping_due', $shipping_costs, $order_id, $product, $author );
  if ( ! empty( $value ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter wcvendors_shipping_due callback
function my_filter_function( $param1, $param2, $param3, $param4 )  {
  // do your thing here :-) ... 

  return $value;
}
add_filter( 'wcvendors_shipping_due' , 'my_filter_function', 10, 4 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcvendors_shipping_due', 'my_filter_function', 10, 4 );

Defined

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

  • wc-vendors/classes/class-shipping.php line 91
    $shipping_costs = apply_filters( 'wcvendors_shipping_due', $shipping_costs, $order_id, $product, $author );

filters

Updated on January 11, 2017

Was this article helpful?