Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove delete from nouveau activity entry


  • nm
    Participant

    @nahummadrid

    add_filter('bp_nouveau_get_activity_entry_buttons', 'remove_delete_activity');
    function remove_delete_activity( $return) {
    
    unset( $return['activity_delete'] );
    
    return $return;
    
    }

    seems to work but is it right

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar