Remove all code related to purchasing a license

This commit is contained in:
David Stone
2024-12-07 01:16:47 -07:00
parent 450931b405
commit d87425cfab
21 changed files with 4 additions and 4343 deletions

View File

@ -29,14 +29,8 @@ class Screenshot {
* @param string $domain Original site domain.
*/
public static function api_url($domain): string {
$domain = esc_url($domain);
$url = wu_with_license_key(sprintf('https://api.wpultimo.com/screenshot?url=%s', $domain));
return $url . '&ext=.png';
} // end api_url;
return 'https://image.thum.io/get/' . $domain;
}
/**
* Takes in a URL and creates it as an attachment.
*