Hooks::filter_attendee_object( WP_Post $post, string $output, string $filter )
Filters the default Attendee object to add ET+ information.
Contents
Parameters
- $post
-
(WP_Post) (Required) The attendee post object, decorated with a set of custom properties.
- $output
-
(string) (Required) The output format to use.
- $filter
-
(string) (Required) The filter, or context of the fetch.
Return
(WP_Post)
Source
File: src/Tickets_Plus/Commerce/Attendee_Registration/Hooks.php
public function filter_attendee_object( $post, $output, $filter ) { return $this->container->make( Attendee::class )->inject_attendee_object_fields( $post, $output, $filter ); }
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |