mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
* updated requests to site URL;
* WPCS;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user