• Resolved Schweizer Solutions GmbH

    (@schweizersolutions)


    Hi,

    we have some hidden groups that are associated with LearnDash courses. But they are not displayed in the metabox. So if we edit the course and save the changes, than all users were kicked from the course.

    The reason is, that the group is not displayed in the metabox and is not selected anymore …

    We’ve fixed it, in the file “buddypress-learndash\includes\bp-learndash-groups.php”. We added the option “show_hidden” to the array (Line 83):

    			$groups_arr = BP_Groups_Group::get( array(
    				'type'       => 'alphabetical',
    				'per_page'   => 999,
    				'show_hidden' => true,
    			) );

    Maybe you can add this to the next update?

    Cheers
    Andreas

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hidden groups are not displayed’ is closed to new replies.