bp_rest_activity_update_favorite, $activity, $this->get_user_favorites(

bp_rest_activity_update_favorite, $activity, $this->get_user_favorites(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_rest_activity_update_favorite, $activity, $this->get_user_favorites(') is found 1 times:

  • /bp-activity/classes/class-bp-rest-activity-endpoint.php line 815
    		 * @param array                $user_favorites The updated user favorites.
    		 * @param WP_REST_Response     $response       The response data.
    		 * @param WP_REST_Request      $request        The request sent to the API.
    		 */
    		do_action( 'bp_rest_activity_update_favorite', $activity, $this->get_user_favorites(), $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to update user favorites.