fix: improve promotion tabs and referral layout
This commit is contained in:
1 parent
5b9f54f5ac
commit
853114a9f9
18 files changed
+127
-602
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user