-
Notifications
You must be signed in to change notification settings - Fork 17
friends_unreact
Alex Kirk edited this page Apr 8, 2024
·
10 revisions
add_filter(
'friends_unreact',
function (
Friends\null $null,
$post_id,
$reaction,
$taxonomy_username
) {
// Your code here
return $null;
},
10,
4
);
-
Friends\null
$null
$post_id
-
$reaction
Other examples:'2b50'
,$reaction
$taxonomy_username
apply_filters( 'friends_unreact', null, $post_id, $_POST['reaction'] )
apply_filters( 'friends_unreact', null, $post_id, '2b50', $taxonomy_username )
apply_filters( 'friends_unreact', null, $post_id, $reaction )