Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hook on xprofile_delete_field_data()

  • @geoffroycochard

    Participant

    Hie,

    I use

    xprofile_data_after_save()

    hook to manage some informations but when xprofile field type is a checkbox or multiselect and

    is_empty()

    , when i saved it goes directly to

    xprofile_delete_field_data()

    and there’s no way to hook…

    So i pull request to write an hook here to add_action …

    What do you think about guys ?

    Geoffroy

Viewing 4 replies - 1 through 4 (of 4 total)
  • @modemlooper

    Moderator

    It should delete when nothing is selected to remove data.

    @geoffroycochard

    Participant

    it removed correctly data in wp_bp_xprofile_data table, no problem but i don’t find the way to hook this delete action cause save method is not execute.
    In fact i maintain a table with serialize data in wp_bp_xprofile_data…

    Thanks for your reply

    Geoffroy

    @modemlooper

    Moderator

    So, you want xprofile_data_after_delete() function?

    Post it on the BuddyPress trac as an enhancement

    @geoffroycochard

    Participant
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hook on xprofile_delete_field_data()’ is closed to new replies.
Skip to toolbar