BuddyDev

Search

How add new type notification for BuddyPress?

Tagged: ,

  • Participant
    Max on #16495

    Good day. I want to add new notification type in my site – Updated the status of the task I have assigned to the user (for example, the task completed). But by default, this function is not. How to do this?

    Version WP and BP last.

    I do not understand why this has not been done so far and cannot find support for my idea anywhere. Please help me.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #16498

    Hi Max,
    Welcome to BuddyDev.

    You can use

    
    
    bp_notifications_add_notification();
    
    

    to add new type of notifications. Please do note that you will need to register a dummy component and notification callback to make it render the notification.

    From your post, It seems you are using some kind of task management plugin. My suggestion will be to ask the developer to add it. It should be a very simple task as they might have some of the notifications already there.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved