File: bp-groups/classes/class-bp-rest-group-membership-endpoint.php |
Description |
---|---|
BP_REST_Group_Membership_Endpoint::create_item() |
Add member to a group. |
BP_REST_Group_Membership_Endpoint::prepare_links() |
Prepare links for the request. |
bp_rest_group_members_create_item |
Fires after a member is added to a group via the REST API. |
bp_rest_group_members_prepare_links |
Filter links prepared for the REST response. |
BP_REST_Group_Membership_Endpoint::create_item_permissions_check() |
Checks if a given request has access to join a group. |
BP_REST_Group_Membership_Endpoint::get_endpoint_args_for_method() |
GET arguments for the endpoint’s CREATABLE, EDITABLE & DELETABLE methods. |
bp_rest_group_members_create_item_permissions_check |
Filter the group members `create_item` permissions check. |
bp_rest_group_members_{$key}_query_arguments |
Filters the method query arguments. |
BP_REST_Group_Membership_Endpoint::update_item() |
Update user status on a group (add, remove, promote, demote or ban). |
BP_REST_Group_Membership_Endpoint::get_item_schema() |
Get the group member schema, conforming to JSON Schema. |