| @@ -7,8 +7,9 @@ | ||
| 7 | 7 | namespace Extendify\Shared\DataProvider; |
| 8 | 8 | |
| 9 | 9 | defined('ABSPATH') || die('No direct access.'); |
| 10 | 10 | |
| 11 | +use Extendify\Constants; | |
| 11 | 12 | use Extendify\PartnerData; |
| 12 | 13 | use Extendify\Shared\Services\Sanitizer; |
| 13 | 14 | |
| 14 | 15 | /** |
| @@ -39,9 +40,9 @@ | ||
| 39 | 40 | 'disabled_products' => PartnerData::setting('productRecommendations')['disabledProducts'], |
| 40 | 41 | 'custom_products' => PartnerData::setting('productRecommendations')['customProducts'], |
| 41 | 42 | 'wp_language' => \get_locale(), |
| 42 | 43 | ], |
| 43 | - 'https://dashboard.extendify.com/api/recommendations/products' | |
| 44 | + Constants::DASHBOARD_HOST . '/api/recommendations/products' | |
| 44 | 45 | ), |
| 45 | 46 | [ |
| 46 | 47 | 'headers' => ['Accept' => 'application/json'], |
| 47 | 48 | ] |