feat(credits): free points tasks matrix, day cap, and tasks tab
Add AKSRT_Points_Free for catalog/day-max/daily detail, wire the full earn matrix (login, post, like, favorite, follow, comment, forum), expose 积分任务 + 每日详情 tabs, and expand admin free-task settings.
This commit is contained in:
1 parent
4da003663d
commit
15a883eb54
13 files changed
+728
-232
No files matched your search
@@ -47,7 +47,11 @@ class AKSRT_Follow {
|
||||
'created_at' => current_time('mysql'),
|
||||
], ['%d', '%d', '%s']);
|
||||
|
||||
return $result !== false;
|
||||
if ($result === false) {
|
||||
return false;
|
||||
}
|
||||
do_action('aksrt_user_followed', $follower_id, $following_id);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user