feat(identity): tip QR upload, metrics engine, comment moderate caps
Close identity 1:1 gaps after p1: user-center weixin/alipay tip QR upload+save, AKSRT_User_Metrics counters for medal get_type and level XP bridges, forum/revenue/signin hooks, comment moderate via user_caps, and clearer free-task deep links/status CTAs.
This commit is contained in:
1 parent
4e3eb0414d
commit
487681a6c4
18 files changed
+854
-36
No files matched your search
@@ -39,7 +39,15 @@ class AKSRT_Revenue {
|
||||
'created_at' => current_time('mysql'),
|
||||
], ['%d', '%s', '%f', '%s', '%s', '%s']);
|
||||
|
||||
return (int) $wpdb->insert_id;
|
||||
$id = (int) $wpdb->insert_id;
|
||||
if ($id > 0) {
|
||||
do_action('aksrt_creator_income_added', $user_id, $amount, [
|
||||
'order_number' => $order_number,
|
||||
'type' => $type,
|
||||
'revenue_id' => $id,
|
||||
]);
|
||||
}
|
||||
return $id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user