Nguyễn Văn Được
3b3c6754cb
Add $the_order to woocommerce_order_class filter
...
My be developer using another class to wrap the order. and in this case, the value of $classname allway is false. Send $the_order to filter is the solution.
2015-03-23 15:22:02 +07:00
Mike Jolley
35f006d282
This can return a bool
2015-02-03 15:55:40 +00:00
shivapoudel
73b1185375
Removed newline ;)
2014-09-21 00:36:42 +05:45
Barry Kooij
9d5ce49805
Passed $args to dynamic class that inherits WC_Abstract_Order is never used.
...
Therefor the $args in the function and method in factory class seems unnecessary.
2014-08-15 14:56:43 +02:00
Mike Jolley
c465c7235d
Merge branch 'credit-notes'
...
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
claudiosmweb
7e36d05c75
created order_type taxonomy
2014-07-08 14:23:11 -03:00
Claudio Sanches
9701cfe2a7
Revert "order_type taxonomy and register_order_type() function"
2014-07-08 14:10:37 -03:00
claudiosmweb
72aae0e69d
created order_type taxonomy and register_order_type() function
2014-07-07 16:19:51 -03:00
Mike Jolley
f6b78be21c
Prevent notices in factory
2014-07-07 11:44:27 +01:00
Coen Jacobs
66006a18b0
WC_Order is default class for order factory
2014-06-14 23:26:01 +02:00
Coen Jacobs
9c68f71500
Basic order factory class
2014-06-13 15:20:14 +02:00