wcv_order_status_action_hide

Description

apply_filters( 'wcv_order_status_action_hide', array( 'refunded', 'cancelled' ) )

Parameters (1) (array)

Usage Examples

To run the filter, copy this sample

$array_val = apply_filters( 'wcv_order_status_action_hide', array( 'refunded', 'cancelled' ) );
  if ( ! empty( $array_val ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

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

  return $value // hand edit value here 
}
add_filter( 'wcv_order_status_action_hide', 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

//remove the filter
remove_filter( 'wcv_order_status_action_hide', 'my_filter_function', 10, 1 );

Defined

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

  • wcvendors-pro/public/class-wcvendors-pro-order-controller.php line 483
    if ( in_array( $order->get_status(), apply_filters( 'wcv_order_status_action_hide', array( 'refunded', 'cancelled' ) ) ) ) {

filters

Updated on January 9, 2017

Was this article helpful?