WordPress at Your Fingertips
filter is not described

woocommerce_valid_order_statuses_for_payment_complete filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_valid_order_statuses_for_payment_complete', 'filter_function_name_833', 10, 2 );
function filter_function_name_833( $array, $that ){
	// filter...

	return $array;
}
$array
-
$that
-

Where the hook is called

WC_Order::payment_complete()
woocommerce_valid_order_statuses_for_payment_complete
woocommerce/includes/class-wc-order.php 112
if ( $this->has_status( apply_filters( 'woocommerce_valid_order_statuses_for_payment_complete', array( 'on-hold', 'pending', 'failed', 'cancelled' ), $this ) ) ) {

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-blocks/src/Domain/Services/DraftOrders.php 45
add_filter( 'woocommerce_valid_order_statuses_for_payment_complete', [ $this, 'append_draft_order_post_status' ] );