fix: improve promotion tabs and referral layout

This commit is contained in:
kate522 committed 2026-08-16 21:28:02 +08:00
1 parent 5b9f54f5ac
commit 853114a9f9
18 files changed
+127 -602

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ final class ReferralAttribution {
}
public function register_routes(): void {
register_rest_route('aksrt/v1', '/promotion/me', [
register_rest_route('aksrt/v1', '/revenue/me', [
'methods' => \WP_REST_Server::READABLE,
'callback' => [$this, 'rest_me'],
'permission_callback' => static fn() => is_user_logged_in(),