• Resolved jacseq

    (@jacseq)


    Hi,

    It seems that there is a limit of Access Plans one can add to a course and the number is 5. Is there a way to increase that number?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jacseq

    Thanks for reaching out!

    Yes you can increase the number with the below code snippet. This can be added to your function.php file or to a code snippet plugin:

    /**
    
    * llms_get_product_access_plan_limit.php
    
    *
    
    * @since 2017-09-06
    
    */
    
    
    
    /**
    
    * Change the maximum number of access plans which can be created for a single course / membership
    
    * @param int $limit number of plans
    
    * @return int
    
    */
    
    function my_llms_get_product_access_plan_limit( $limit ) {
    
    return 12;
    
    }
    
    add_filter( 'llms_get_product_access_plan_limit', 'my_llms_get_product_access_plan_limit' );

    Please let us know if you have any further questions!

    All the best!

    Since I haven’t heard back from you in a week I’m going to mark this thread as resolved. Don’t worry, if you have more questions or still need help just hit reply and let me know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Max number of access plans’ is closed to new replies.