woocommerce_order_is_created_via, $modus === $this->get_created_via(
woocommerce_order_is_created_via, $modus === $this->get_created_via(
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_order_is_created_via, $modus === $this->get_created_via(') is found 1 times:
- /includes/class-wc-order.php line 2593
* @param string $modus Way of creating the order to test for. * @return bool */ public function is_created_via( $modus ) { return apply_filters( 'woocommerce_order_is_created_via', $modus === $this->get_created_via(), $this, $modus ); } /** * Attempts to restore the specified order back to its original status (after having been trashed). * * @return bool If the operation was successful.