llms_template_view_order_transactions( LLMS_Order $order, array $transactions = null, integer $per_page = 20, integer $page = null )

Loads the single order view transactions table on the student dashboard.

Parameters Parameters


(LLMS_Order) (Required) The order to display.


(array) (Optional) Result array from LLMS_Order::get_transactions(). If null, will load transactions from the order.

Default value: null


(integer) (Optional) Number of results to display per page. Only used if $transactions is null.

Default value: 20


(integer) (Optional) Current results page to display. Only used if $transactions is null.

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: includes/functions/llms-functions-template-view-order.php

	function llms_template_view_order_transactions( $order, $transactions = null, $per_page = 20, $page = null ) {

		if ( is_null( $transactions ) ) {
			$transactions = _llms_template_view_order_get_transactions( $order, $per_page, $page );

		if ( empty( $transactions['transactions'] ) ) {

		llms_get_template( 'myaccount/view-order-transactions.php', compact( 'transactions' ) );


Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.