WC Refund class older name 'WC_Refund' somehow left over in the function docblock. Corrected to WC_Order_Refund.

This commit is contained in:
AmanS 2018-10-10 00:28:15 +05:30
parent c12bb2dac5
commit 9d327ac52e
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) ) {