LLMS_Order::get_transactions( array $args = array() )

Retrieve an array of transactions associated with the order according to supplied arguments


Description Description


Parameters Parameters

$args

(Optional) Hash of query argument data, ultimately passed to a WP_Query.

  • 'status'
    (string|string[]) Transaction post status or array of transaction post status. Defaults to "any".
  • 'type'
    (string|string[]) Transaction types or array of transaction types. Defaults to "any". Accepts "recurring", "single", or "trial".
  • 'per_page'
    (int) Number of transactions to include in the return. Default 50.
  • 'paged'
    (int) Result set page number.
  • 'order'
    (string) Result set order. Default "DESC". Accepts "DESC" or "ASC".
  • 'orderby'
    (string) Result set ordering field. Default "date".

Default value: array()


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/models/model.llms.order.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.6 Add additional return property, total, which returns the total number of found transactions.
3.10.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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