bp_rest_friends_create_item, $friendship, $response, $request

bp_rest_friends_create_item, $friendship, $response, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_rest_friends_create_item, $friendship, $response, $request') is found 1 times:

  • /bp-friends/classes/class-bp-rest-friends-endpoint.php line 391
    		 * @param BP_Friends_Friendship $friendship The friendship object.
    		 * @param WP_REST_Response      $retval     The response data.
    		 * @param WP_REST_Request       $request    The request sent to the API.
    		 */
    		do_action( 'bp_rest_friends_create_item', $friendship, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to create a friendship.