WC Refund class older name 'WC_Refund' somehow left over in the function docblock. Corrected to WC_Order_Refund.
This commit is contained in:
parent
c12bb2dac5
commit
9d327ac52e
|
@ -73,7 +73,7 @@ function wc_get_orders( $args ) {
|
|||
*
|
||||
* @param mixed $the_order Post object or post ID of the order.
|
||||
*
|
||||
* @return bool|WC_Order|WC_Refund
|
||||
* @return bool|WC_Order|WC_Order_Refund
|
||||
*/
|
||||
function wc_get_order( $the_order = false ) {
|
||||
if ( ! did_action( 'woocommerce_after_register_post_type' ) ) {
|
||||
|
|
Loading…
Reference in New Issue