[buddypress-trac] [BuddyPress] #3044: bp-xprofile Add Hook before saving xprofile field data

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 3 11:14:15 UTC 2011


#3044: bp-xprofile Add Hook before saving xprofile field data
-------------------------+-----------------------------
 Reporter:  marinig      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  XProfile     |    Version:
 Keywords:               |
-------------------------+-----------------------------
 File: bp-xprofile.php
 Function: xprofile_set_field_data()

 Is it possible to add a filter hook before saving the profile custom field
 value?

 Something like:

 $value = apply_filter( 'xprofile_field_data_set_pre', $value );

 Is it possible to pass also the field name along with the $value variable?

 Thanks

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3044>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list