LLMS_Post_Types::add_membership_restriction_support()
Add post type support for membership restrictions This enables the “Membership Access” metabox to display
Description Description
Source Source
File: includes/class.llms.post-types.php
public static function add_membership_restriction_support() { $post_types = apply_filters( 'llms_membership_restricted_post_types', array( 'post', 'page' ) ); foreach ( $post_types as $post_type ) { add_post_type_support( $post_type, 'llms-membership-restrictions' ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: