* updated requests to site URL;

* WPCS;
This commit is contained in:
Mykyta Synelnikov
2025-01-31 15:19:28 +02:00
parent 26c8aa21e1
commit a760a6242e
5 changed files with 93 additions and 143 deletions
+6 -15
View File
@@ -1,36 +1,27 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'UM_Functions' ) ) {
/**
* Class UM_Functions
*/
class UM_Functions {
/**
* Store URL
*
* @var string
*/
var $store_url = 'https://ultimatemember.com/';
public static $store_url = 'https://ultimatemember.com/?edd-request=get-info';
/**
* WP remote Post timeout
* @var int
*/
var $request_timeout = 60;
/**
* UM_Functions constructor.
*/
function __construct() {
}
public static $request_timeout = 60;
/**
* Check if AJAX now