This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use GuzzleHttp\Client; | |
if (file_exists('vendor/autoload.php')) { | |
include 'vendor/autoload.php'; | |
} | |
$client = new Client(); | |
$res = $client->get('https://s3-ats-migration-test.s3.eu-west-3.amazonaws.com/test.jpg'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is just an example for a woocommerce issue | |
*/ | |
add_action( 'plugins_loaded', 'maybe_custom_upload_dir' ); | |
/** | |
* under some circumstances, we need to move the upload dir |