[buddypress-trac] [BuddyPress] #2773: Add "pre-delete" hooks to groups component

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Dec 24 14:22:16 UTC 2010

#2773: Add "pre-delete" hooks to groups component
  Reporter:  vtowel       |      Owner:  kunalb
      Type:  enhancement  |     Status:  assigned
  Priority:  normal       |  Milestone:  1.3
 Component:  Groups       |    Version:  1.3
Resolution:               |   Keywords:  plugins, extending

Comment (by DJPaul):

 My opinion is we need to keep backwards compatibility. Any new post-delete
 hooks we implement going forwards can be written in the past tense. Rather
 than "pre", I suggest "before." i.e.

 groups_before_delete_group  => groups_delete_group
 groups_before_remove_data_for_user => groups_remove_data_for_user

Ticket URL: <http://trac.buddypress.org/ticket/2773#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list