I guess my question is here:
foreach ($_POST as $key => $val)
{
if (strstr($key, 'toggle') AND ! is_array($val))
{
if ($_POST['action'] == 'activate')
{Which works fine off the “cp_members_validate_members” hook but seems not to with the
“member_register_validate_members” hook.
Is each page request accessed from the URL string provided in the member account activation e-mail considered a POST action? Please forgive my ignorance.
How do I get at/determine what user is trying to activate their account. I assume the query for the users related information will remain the same as well as the switch logic I’m using.
In guessing, I’m thinking that it will be if…user has selected to activate account…do stuff. I’m stuck on how to construct the if statement?
Could someone lend some advice?
Thanks.