Skip to:
Content
Pages
Categories
Search
Top
Bottom

filtering activity before it is posted

  • @dswd

    Participant

    Hi,
    I am trying to modify the activity post before it is posted.
    I am currently trying to use the bp_activity_add filter but I believe this is after the activity is posted.

    Is there a filter that I can get into before the activity is posted

    eg any mention of company leads to the about us page

Viewing 1 replies (of 1 total)
  • @megainfo

    Participant

    Hi

    You can use the filter bp_activity_after_save

    
    add_filter('bp_activity_after_save', 'bp_my_activity_filter');
    
    /**
     * New Filter for activity stream
     *
     */
    function p_my_activity_filter( &$activity ) {
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘filtering activity before it is posted’ is closed to new replies.
Skip to toolbar