I just tried two things:
I moved the function call into a plugin in the standard plugins directory.
I added this code:
`echo “Before”;
print_r( groups_update_groupmeta( ’10’, ‘msoe_student_id’, ‘ARGH23’) );
echo “After”;`
Which echoed back:
Before
1
After
So it appears to be running, but it did not actually update the wp_bp_groups_groupmeta table unless it is called from the init action or somewhere in functions.php.
I am also trying to do this, any help would be greatly appreciated!
I would also love something like this, I just posted something similar in a different area. Not sure how I missed this thread. It is a bit disappointing that the great user management features of WordPress don’t work with BuddyPress.