$user_id, 'number' => 20, 'offset' => 20 * ( intval( $page ) - 1 ), 'type' => 'sale', 'status__not_in' => array( 'trash' ), ) ); /** * Fires before the order history, whether or not orders have been found. * * @since 3.0 * @param array $orders The array of order objects for the current user. * @param int $user_id The current user ID. */ do_action( 'edd_pre_order_history', $orders, $user_id ); if ( $orders ) : do_action( 'edd_before_order_history', $orders ); ?>
#get_number() ); ?> utils->date( $order->date_created, null, true )->toDateTimeString() ) ); ?> total, $order->currency ) ); ?> status, array( 'complete', 'partially_refunded' ), true ) ) : ?> status ) ); ?> get_recovery_url(); if ( $recovery_url ) : ?> —
get_current_user_id(), 'type' => 'sale', ) ); echo edd_pagination( array( 'type' => 'purchase_history', 'total' => ceil( $count / 20 ), // 20 items per page ) ); do_action( 'edd_after_order_history', $orders ); ?>