Quote:
Originally Posted by MarkFL
Try the hook "profile_updateprofile" to answer your first question.
For running schedules tasks, you can attach code to be run to your cleanup tasks...examine the hooks beginning with "cron_" depending on how often you want the code to be executed.
|
Thanks Mark. I tried using profile_updateprofile but it doesn't seem to be firing my plugin code. When saving a profile, it is actually going to ajax.php:
if ($_POST['do'] == 'profile_updateprofile')
{
....
}
However, there is no "hook" statements in here.
UPDATE
I think I need to use "ajax_complete" hook...trying it now