Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add new local notifications

  • @lucas7111

    Participant

    Hi, how can I add a new local Buddypress notification? I’ve seen the codex, the other threads, the code of various plugins that use the local bp notification system but I haven’t managed to make it work yet! This is an extract of my code:

    
    $the_query = new WP_Query( array( 'category_name' => 'catname'); 
    if ( $the_query->have_posts() ) {
    	*send local notification*
    } else {
           *dontsend*
    }

    (Also, it would be awesome if when the user clicks on the notification, it (the notification) disappear from the bp notifications list)

  • The topic ‘Add new local notifications’ is closed to new replies.
Skip to toolbar