pv_vendors_from_order

Description

apply_filters( 'pv_vendors_from_order', $vendors, $order )

Parameters ( 2 ) ( array ), ( object )

Usage Examples

To run the filter, copy this sample

$value = apply_filters( 'pv_vendors_from_order', $vendors, $order );
  if ( ! empty( $value ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $value;
}
add_filter( 'pv_vendors_from_order' , 'my_filter_function', 10, 2 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'pv_vendors_from_order', 'my_filter_function', 10, 2 );

Defined

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

  • wc-vendors/classes/class-vendors.php line 73
    return apply_filters( 'pv_vendors_from_order', $vendors, $order );

filters

Updated on January 11, 2017

Was this article helpful?