Support BuddyBoss Theme Registration Page #
If you are using the BuddyBoss platform with a BuddyBoss theme, you will need this custom code because the BuddyBoss platform overrides the registration page.
- Use this filter to add the checkbox markup like this function add_parent_field_to_register_form already in student-parent plugin.
- Use this filter to change the user role to the parent from the subscriber.
- Use this filter to keep the role parent if this bp_core_signup_user filter doesn’t work to change the role because when it activates the user in the Buddyboss platform then it activates the user as a subscriber.