Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • tim.samuelsson
    Participant

    @timsamuelsson

    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!


    tim.samuelsson
    Participant

    @timsamuelsson

    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)

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar