apply_filters( 'llms_membership_restricted_post_types', string[] $post_types )

Add llms-membership-restrictions support for the following post types.

Description Description

Adding support for a post type enables the display of the Membership Restriction metabox for each specified post type.

These post types can then be "restricted" to enrollment in the selected memberships.

Top ↑

Parameters Parameters


(string[]) Array of post type names.

Top ↑

More Information More Information

Examples Examples

Top ↑

Source Source

File: includes/

View on GitHub

Top ↑

User Contributed Notes User Contributed Notes

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