Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile_data_after_save hook not working

  • Avatar of 3cees
    3cees
    Participant

    @3cees

    Hi,

    I already posted it here: http://buddypress.org/community/groups/creating-extending/forum/topic/xprofile_data_after_save-hook-not-working/
    But I am not sure, if it was the correct forum, so please excuse my double posting.

    I want to use the hook `xprofile_data_after_save` for a custom function.
    I tried it with my function and it did not work. So I wrote a test function, to check, if the hook works.
    `function er_copy_user_data($xprofile){
    wp_die(‘hooked’);
    }

    add_action( ‘xprofile_data_after_save’, ‘er_copy_user_data’ );`

    This code is in my functions.php.

    Wp is not dying. The message is not shown. BP is up 2 date.

    What could be the issue?

    Thank You!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.