Skip to:
Content
Pages
Categories
Search
Top
Bottom

notifications component_name


  • Raval
    Participant

    @ravals

    Welcome,
    I’m having trouble personalizing notifications for my site. I would like to display notifications only for specific “component_name” or “component_action” (in the database refer to the same notification)
    I wanted to check with the “if {}” statement whether the notification:
    bp_notifications_get_notifications_for_user ($ user_id, ‘string’);
    is equal to the “component_name” with the value “bp_wcamp” and only then display them.
    I hope I have described the problem clearly.
    Is there anyone who can help me?

  • You must be logged in to reply to this topic.
Skip to toolbar