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


(array[]) An array of arrays of post IDs. The array keys are the post type and the array values are arrays of integers.


(string|null) The requested post type if only a specific post type was requested, otherwise null to indicate all associated post types.


(LLMS_Membership) Membership object.

Top ↑

Source Source

File: includes/models/model.llms.membership.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
3.38.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.