feat(user-center): merge promotion rewards into revenue
This commit is contained in:
@@ -39,7 +39,9 @@ if (class_exists('\AKSRT\Settings\Settings')) {
|
||||
: (string) ($invite_cfg['open_desc'] ?? '');
|
||||
}
|
||||
|
||||
if (!empty($_GET['invite'])) {
|
||||
if (!empty($_GET['ref'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_GET['ref']));
|
||||
} elseif (!empty($_GET['invite'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_GET['invite']));
|
||||
} elseif (!empty($_COOKIE['aksrt_invite'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_COOKIE['aksrt_invite']));
|
||||
|
||||
Reference in New Issue
Block a user