-
Notifications
You must be signed in to change notification settings - Fork 17
friends_get_comments
Alex Kirk edited this page May 11, 2024
·
4 revisions
add_filter(
'friends_get_comments',
function (
array $array,
$post_id
) {
// Your code here
return $array;
},
10,
2
);
-
array
$array
$post_id
apply_filters(
'friends_get_comments',
get_comments(
array(
'post_id' => $post_id,
'status' => 'approve',
'order' => 'ASC',
)
),
$post_id
)