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/Services/PluginDependencies/SimplyBook.php +2 -1 3.0.4 → trunk View file →
@@ -5,8 +5,9 @@
5 5 */
6 6
7 7 namespace Extendify\Shared\Services\PluginDependencies;
8 8
9 +use Extendify\Constants;
9 10 use Extendify\PartnerData;
10 11 use Extendify\Shared\Services\HttpClient;
11 12 use Extendify\Shared\Services\Sanitizer;
12 13
@@ -57,9 +58,9 @@
57 58 if (!empty(\get_option('extendify_simplybook_data', []))) {
58 59 return;
59 60 }
60 61
61 - $response = HttpClient::post('https://ai.extendify.com/api/plugins/simplybook', [
62 + $response = HttpClient::post(Constants::AI_HOST . '/api/plugins/simplybook', [
62 63 'params' => [
63 64 'title' => \get_bloginfo('name'),
64 65 'wpLanguage' => \get_locale(),
65 66 'version' => \Extendify\Config::$version,