add_action not working
-
I have the following in my functions.php file:
add_action( ‘um_user_register’, ‘my_user_register’, 10, 2 );
function my_user_register( ) {
die(‘from codex’);
}It is not triggering when I submit the registration forum, and I don’t have any idea why. Can anyone help, please.
Mike
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.