apply_filters( 'llms_order_get_transactions_query', array $query_args )

Filters the order’s transactions query aguments.


Parameters Parameters

$query_args

(array) Hash of query argument data passed to a WP_Query.<br>

  • 'status'
    (string|string[]) Transaction post status or array of transaction post status.<br> Defaults to "any".<br>
  • 'type'
    (string|string[]) Transaction types or array of transaction types.<br> Defaults to "any".<br> Accepts "recurring", "single", or "trial".<br>
  • 'per_page'
    (int) Number of transactions to include in the return. Default 50.<br>
  • 'paged'
    (int) Result set page number.<br>
  • 'order'
    (string) Result set order. Default "DESC". Accepts "DESC" or "ASC".<br>
  • 'orderby'
    (string) Result set ordering field. Default "date".<br>
  • 'no_found_rows'
    (bool) Whether to skip counting the total rows found.<br> Enabling can improve performance. Default false.<br>


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
7.1.0 Added $no_found_rows arg.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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