/home/techb158/balacoffee.com/wp-content/plugins/wpforms/src/Pro/Integrations/LiteConnect
Edit: /home/techb158/balacoffee.com/wp-content/plugins/wpforms/src/Pro/Integrations/LiteConnect/API.php (1329B)
$this->domain,
'site_id' => $this->site_id,
'size' => self::LITE_CONNECT_BATCH_SIZE,
];
if ( $last_import_id ) {
$body['last_record'] = $last_import_id;
}
return $this->request(
'/retrieval/entries',
$body,
[
'X-WPForms-Lite-Connect-Access-Token' => $access_token,
]
);
}
/**
* Add restored flag to the Lite Connect API.
*
* @since 1.7.4
*
* @param string $site_key The site key.
*
* @return false|string
*/
public function add_restored_flag( $site_key ) {
return $this->request(
'/utils/add_restored_tag',
[
'domain' => $this->domain,
'site_id' => $this->site_id,
],
[
'X-WPForms-Lite-Connect-Site-Key' => $site_key,
]
);
}
}