bp_rest_xprofile_data_save_item, $field, $field_data, $user, $response, $request

bp_rest_xprofile_data_save_item, $field, $field_data, $user, $response, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_rest_xprofile_data_save_item, $field, $field_data, $user, $response, $request') is found 1 times:

  • /bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php line 270
    		 * @param WP_User                 $user       The user object.
    		 * @param WP_REST_Response        $response   The response data.
    		 * @param WP_REST_Request         $request    The request sent to the API.
    		 */
    		do_action( 'bp_rest_xprofile_data_save_item', $field, $field_data, $user, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to save XProfile field data.