learndash_check_group_leader_access( boolean $prevent_access )
Allows group leader access to the admin dashboard.
WooCommerce prevents access to the dashboard for all non-admin user roles. This filter allows us to check if the current user is group_leader and override WC access. Fires on
(boolean) (Required) value from WC.
(boolean) The adjusted value based on user's access/role.