Changeset 3382485
- Timestamp:
- 10/22/2025 09:56:22 AM (6 months ago)
- File:
-
- 1 edited
-
avacy/trunk/src/PreemptiveBlock.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
avacy/trunk/src/PreemptiveBlock.php
r3315332 r3382485 33 33 34 34 $url = 'https://assets.avacy-cdn.com/config/' . $tenant . '/' . $webSpaceKey . '/custom-vendor-list.json'; 35 // $url = 'https://avacy-cdn.s3.eu-central-1.amazonaws.com/config/test-production/90990663-c953-493f-9311-97aeef0833dc/custom-vendor-list.json';36 35 $customVendorListRequest = wp_remote_get($url); 37 36 38 if( $customVendorListRequest['response']['code'] === 200) {37 if(!is_wp_error($customVendorListRequest) && $customVendorListRequest['response']['code'] === 200) { 39 38 $vendors = json_decode($customVendorListRequest['body'], true)['vendors']; 40 39
Note: See TracChangeset
for help on using the changeset viewer.