wcvendors_order_actions

Description

apply_filters( 'wcvendors_order_actions', $order_actions, $order )

Parameters ( 2 ) ( array ), ( object )

Usage Examples

To run the filter, copy this sample

$array_val = apply_filters( 'wcvendors_order_actions', $order_actions, $order );
  if ( ! empty( $array_val ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $array_val;
}
add_filter( 'wcvendors_order_actions' , 'my_filter_function', 10, 2 );

To remove the filter, copy this sample

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

Defined

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

  • wc-vendors/templates/dashboard/orders.php line 115
    $order_actions = apply_filters( 'wcvendors_order_actions', $order_actions, $order );

filters

Updated on January 14, 2017

Was this article helpful?