apply_filters( 'tec_tickets_commerce_get_attendee_after', WP_Post $post, int|WP_Post $attendee, string|null $output, string $filter )

Filters the attendee result after the attendee has been built from the function.

Note: this value will not be cached and the caching of this value is a duty left to the filtering function.


Parameters #

$post

(WP_Post) The attendee post object to filter and return.

$attendee

(int|WP_Post) The attendee object to fetch.

$output

(string|null) The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to a WP_Post object, an associative array, or a numeric array, respectively. Defaults to OBJECT.

$filter

(string) Type of filter to apply.


Top ↑

Source #

File: src/functions/commerce/attendees.php


Top ↑

Changelog #

Changelog
Version Description
5.1.9 Introduced.