do_action( 'bp_rest_friends_create_item', BP_Friends_Friendship $friendship , WP_REST_Response $retval , WP_REST_Request $request )
Fires after a friendship is created via the REST API.
Description Description
Parameters Parameters
- $friendship
-
The friendship object.
- $retval
-
The response data.
- $request
-
The request sent to the API.
Source Source
File: bp-friends/classes/class-bp-rest-friends-endpoint.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |