Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: groups_update_groupmeta() not working from pluglin located in mu-plugins directory

@lsparks

Member

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.

Skip to toolbar