Support » Plugin: BuddyPress Xprofile Custom Field Types » Edit data before display and before save

  • Resolved ShMk

    (@shmk)


    Hello,
    anyone knows what are the correct hooks to use:
    1. to edit the field data before is displayed on the registration/edit form (I have to change some strings)
    2. before data are saved on the database (I have to adjust the data based on user selection)?

    Specifically I have to do that on a multiselect profile field.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi,
    Thank you for asking and I am sorry for the delayed reply.

    You can use standard BuddyPress actions and filters

    
    xprofile_get_field_data - to filter output
    xprofile_data_before_save :- action to modify before data is saved.
    

    Regards
    Brajesh

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