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.
Description Description
Parameters Parameters
- $posts
-
An array of arrays of post IDs. The array keys are the post type and the array values are arrays of integers.
- $post_type
-
The requested post type if only a specific post type was requested, otherwise
null
to indicate all associated post types. - $this
-
Membership object.
Source Source
File: includes/models/model.llms.membership.php
Changelog Changelog
Version | Description |
---|---|
3.38.1 | Introduced. |