Created
March 31, 2018 17:54
-
-
Save nielslange/dff9e16063a2b2cf8ad7481f866289a5 to your computer and use it in GitHub Desktop.
peepso → peepso_action_user_activate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('peepso_action_user_activate', 'hook', 10, 1); | |
/* | |
* Send an email to admin each time a new group is created | |
*/ | |
hook(PeepSoUser $PeepSoUser) { | |
$msg = "New user {$PeepSoUser->get_fullname()} ID {$PeepSoUser->get_id()}"; | |
error_log($msg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment