apply_filters( 'tec_tickets_commerce_get_order', WP_Post $post , string $output , string $filter )
Filters the order post object before caching it and returning it.
Contents
Note: this value will be cached; as such this filter might not run on each request. If you need to filter the output value on each call of this function then use the tec_tickets_commerce_get_order_before
filter.
Parameters
- $post
-
(WP_Post) The order post object, decorated with a set of custom properties.
- $output
-
(string) The output format to use.
- $filter
-
(string) The filter, or context of the fetch.
Source
Changelog
Version | Description |
---|---|
5.1.9 | Introduced. |