diff --git a/includes/admin/views/access-plans/access-plan.php b/includes/admin/views/access-plans/access-plan.php index 262b31ba3c..a647f12cd3 100644 --- a/includes/admin/views/access-plans/access-plan.php +++ b/includes/admin/views/access-plans/access-plan.php @@ -561,6 +561,14 @@ class="llms-plan-price" name="_llms_plans[][pri // Do we have any memberships to restrict this plan to? $memberships_count = wp_count_posts( 'llms_membership' ); if ( $course && $memberships_count->publish > 0 ) : + + /** + * Filter to show/hide the Membership Settings for an Access Plan for a course. + * @param boolean $show_membership_settings Show membership settings for access plans. + * @param LLMS_Access_Plan $plan LLMS_Access_Plan. + * @param integer $id Access Plan ID. + */ + if ( apply_filters( 'llms_show_membership_settings_for_access_plans', true, $plan, $id ) ) : ?>

@@ -603,6 +611,7 @@ class="llms-plan-price" name="_llms_plans[][pri