WordPress at Your Fingertips
filter is not described

woocommerce_order_is_created_via filter-hook . WC 4.0.0

Check if order has been created via admin, checkout, or in another way.

Usage

add_filter( 'woocommerce_order_is_created_via', 'filter_function_name_769', 10, 2 );
function filter_function_name_769( $modus, $that ){
	// filter...

	return $modus;
}
$modus
-
$that
-

Changelog

Since 4.0.0 Introduced.

Where the hook is called

WC_Order::is_created_via()
woocommerce_order_is_created_via
woocommerce/includes/class-wc-order.php 2112
return apply_filters( 'woocommerce_order_is_created_via', $modus === $this->get_created_via(), $this, $modus );

Where in WP core the hook is used WooCommerce

Usage not found.