apply_filters( 'llms_membership_get_associated_posts', array[] $posts , string|null $post_type , LLMS_Membership $this )
Filter the list of posts associated with the membership.
Parameters Parameters
- $posts
-
(array[]) An array of arrays of post IDs. The array keys are the post type and the array values are arrays of integers.
- $post_type
-
(string|null) The requested post type if only a specific post type was requested, otherwise
null
to indicate all associated post types. - $this
-
(LLMS_Membership) Membership object.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.38.1 | Introduced. |