fix: improve promotion tabs and referral layout
This commit is contained in:
@@ -851,20 +851,6 @@ $hmb_js = get_template_directory() . '/assets/js/header-newadd.js';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($is_profile_page) {
|
||||
$revenue_invite_js_path = get_template_directory() . '/assets/js/revenue-invite.js';
|
||||
if (file_exists($revenue_invite_js_path)) {
|
||||
wp_enqueue_script(
|
||||
'aksrt-revenue-invite',
|
||||
$base_uri . '/assets/js/revenue-invite.js',
|
||||
['aksrt-script'],
|
||||
(string) filemtime($revenue_invite_js_path),
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
// Badges UI: user center + public profile (zibll medal modal/list).
|
||||
if (class_exists('\AKSRT\User\Badges') && \AKSRT\User\Badges::enabled()) {
|
||||
$is_badge_surface = $is_profile_page
|
||||
|
||||
Reference in New Issue
Block a user