Google_Sheet_Helpers::api_update_row( mixed $spreadsheet_id, mixed $range, mixed $row_values, $action = null )
Method api_update_row
Contents
Parameters Parameters
- $spreadsheet_id
-
(Required)
- $range
-
(Required)
- $row_values
-
(Required)
Return Return
(void)
Source Source
File: src/integrations/google-sheet/helpers/google-sheet-helpers.php
public function api_update_row( $spreadsheet_id, $range, $row_values, $action = null ) { $values = wp_json_encode( array( $row_values ) ); $body = array( 'action' => 'update_row', 'range' => $range, 'spreadsheet_id' => $spreadsheet_id, 'values' => $values, ); $response = $this->api_call( $body, $action ); return $response; }
Expand full source code Collapse full source code View on Github