@timsamuelsson
9 years, 1 month ago
Thanks!
I have som other questions about adding activities and notifications.
———————-
How is these params used by the bp_activity_add function? What are they used for?
‘item_id’ ‘secondary_item_id’
——
About bp_notifications_add_notification params.
How is the item_id used? How is the secondary_item_id used?
Thanks in advance!
9 years, 2 months ago
The result is an empty array. Im setting $single = false.
If i run it like this in functions.php:
add_action('bp_groups_setup_globals', function() { var_dump(groups_get_groupmeta(2, 'google_group_name', false)); });
It returns the following (Which is correct): array (size=4) 0 => string ‘vmu’ (length=3) 1 => string ‘alla’ (length=4) 2 => string ‘digital’ (length=7) 3 => string ‘linuxbackup’ (length=11)