fix(user-home): align profile comments with reference theme
This commit is contained in:
1 parent
00817766a6
commit
56bbb63afd
8 files changed
+261
-131
No files matched your search
@@ -41,9 +41,11 @@ function aksrt_get_user_dashboard_view(int $user_id, array $args = []): array {
|
||||
|
||||
$post_count = (int) count_user_posts($user_id, 'post', true);
|
||||
$comment_count = (int) get_comments([
|
||||
'user_id' => $user_id,
|
||||
'count' => true,
|
||||
'status' => 'approve',
|
||||
'user_id' => $user_id,
|
||||
'count' => true,
|
||||
'status' => 'approve',
|
||||
'type' => 'comment',
|
||||
'post_type' => ['post'],
|
||||
]);
|
||||
|
||||
$favorite_post_ids = function_exists('aksrt_get_user_interaction_posts')
|
||||
|
||||
Reference in new issue
Block a user