Given Activation Key, How would you get the User ID?
-
With the help of @henrywright, I was able to write code that gets the user activation key. Here’s the code:
function william_oneb_key() { if ( empty( $key ) ) { $key = bp_current_action(); // Do something with the key. Just echo it for now. echo "The activation key is "; echo $key; } } add_action( 'bp_after_activate_content', 'william_oneb_key' );
Now that we’ve got the key, How do we get the user id?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Given Activation Key, How would you get the User ID?’ is closed to new replies.