PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | app/Shared/DataProvider/ProductsData.php +2 -1 3.0.4 → trunk View file →
@@ -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 ]