Tag Info

Hot answers tagged

1

There's quite a few issues here: do_action('user_register', $user_id ); No need to fire the action yourself (especially with an undefined variable $user_id) - the idea of actions & filters is that you "hook" your function to one, and then let WordPress trigger it when applicable. function MY_Callback(){ $data['user_id'] = $user_id; ...



Only top voted, non community-wiki answers of a minimum length are eligible