PDB and WP Users
-
Hey Xnau,
Thanks for the great plugin. Was having a look at your guide to linking PDB and WP Users and I seem to have hit a snag.
The WP username seems to have been successfully captured because I can see it when looking at the participant record that was created during the signup process.
However, when I attempted to use your code to show the logged in user an editable record, the result was “no record was found”.
Not sure what I’m doing wrong – I used the code exactly as it was on your tutorial page here: https://xnau.com/using-participants-database-with-wordpress-users/
I’m using the plugin Insert PHP as recommended.
Here is the code:
echo do_shortcode(‘[pdb_record record_id=”‘ . Participants_Db::get_record_id_by_term(‘user_login’, $current_user->user_login, true) . ‘”]’);Hope you can help – thanks!
- The topic ‘PDB and WP Users’ is closed to new replies.