-
Notifications
You must be signed in to change notification settings - Fork 19
notify_friend_message_received
github-actions[bot] edited this page Jul 28, 2026
·
34 revisions
add_action(
'notify_friend_message_received',
function(
$friend_user,
$message,
$subject,
$feed_url,
$remote_url,
$reply_to
) {
// Your code here.
},
10,
6
);$friend_user$message$subject-
$feed_urlOther variable names:$get_url $remote_url$reply_to
do_action( 'notify_friend_message_received', $friend_user, $message, $subject, $feed_url, $remote_url, $reply_to )do_action( 'notify_friend_message_received', $friend_user, $message, $subject, $user_feed->get_url(), $remote_url, $reply_to )