Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile_data_after_save hook not working


  • 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)
  • The topic ‘xprofile_data_after_save hook not working’ is closed to new replies.
Skip to toolbar