Timeline for wp_login action hook not working
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2013 at 16:54 | comment | added | Charles Clarkson | You're right. You have to watch me like a hawk. Thanks for sharing your solution. I'm sure some future reader will appreciate your effort. | |
S Jun 8, 2013 at 16:52 | history | edited | Charles Clarkson | CC BY-SA 3.0 |
correcting code and adding the working solution
|
S Jun 8, 2013 at 16:52 | history | suggested | whiteletters in blankpapers | CC BY-SA 3.0 |
correcting code and adding the working solution
|
Jun 8, 2013 at 15:37 | vote | accept | whiteletters in blankpapers | ||
Jun 8, 2013 at 15:37 | review | Suggested edits | |||
Jun 8, 2013 at 16:52 | |||||
Jun 8, 2013 at 15:36 | comment | added | whiteletters in blankpapers | I agree with you, your approach is logical, for me it doesn' work even if I made the change of adding 2 parameters to update_user_meta (get_current_user_id() and 'user_number_of_badges2'). You only put in your solution one parameter( look at my edit). thank you anyway, I also gave the solution for my case above your answer | |
Jun 5, 2013 at 10:58 | comment | added | Charles Clarkson |
Both the solution above and changing your code to use $current_user->ID worked fine for me on a test web site. How are you testing for success or failure?
|
|
Jun 5, 2013 at 6:06 | comment | added | whiteletters in blankpapers | I thank you very much for your information. Unfotunately, I still cannot find solution for my login hook. I will come back here to provide with the solution when I find it. +1 | |
Jun 3, 2013 at 3:21 | history | answered | Charles Clarkson | CC BY-SA 3.0 |