Skip to content

notify_about_new_friend_post

Alex Kirk edited this page Apr 8, 2024 · 11 revisions

Auto-generated Example

add_filter(
    'notify_about_new_friend_post',
    function (
        bool $true,
        $friend_user,
        $post_id,
        $user_feed
    ) {
        // Your code here
        return $true;
    },
    10,
    4
);

Parameters

  • bool $true
  • $friend_user
  • $post_id
  • $user_feed

Files

apply_filters( 'notify_about_new_friend_post', true, $friend_user, $post_id, $user_feed )

Hooks

Clone this wiki locally