File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
<?php
class SwpmTransfer {
public static $default_fields = array(
'first_name' => '',
'last_name' => '',
'user_name' => '',
'email' => '',
'password' => '',
'phone' => '',
'account_state' => '',
'member_since' => '',
'subscription_starts' => '',
'address_street' => '',
'address_city' => '',
'address_state' => '',
'address_zipcode' => '',
'company_name' => '',
'country' => '',
'gender' => 'not specified',
'membership_level' => '2',
'notes' => ''
);
public static $default_level_fields = array(
'alias' => '', 'role' => '',
'subscription_period' => '', 'subscription_duration_type' => SwpmMembershipLevel::NO_EXPIRY);
public $message;
public static $admin_messages = array();
private static $_this;
private function __construct() {
$this->message = get_option('swpm-messages');
}
public static function get_instance() {
self::$_this = empty(self::$_this) ? new SwpmTransfer() : self::$_this;
return self::$_this;
}
public function get($key) {
$messages = new SwpmMessages();
return $messages->get($key);
}
public function set($key, $value) {
$messages = new SwpmMessages();
$messages->set($key, $value);
}
/*** Deprecated function - exists only for backwards compatibility ***/
public static function get_real_ip_addr() {
return SwpmUtils::get_user_ip_address();
}
}
