Getting the user_id from pdb_single template
-
I’m using the following routine to get the user_id using the pdb_single shortcode.
I’m using a single record link field to link to the single record.
$user_id = do_shortcode(‘[pdb_single template=”single-value” fields=”id”]’);
Although it works, I’m sure its not the best way to do this.
Can you help please
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Getting the user_id from pdb_single template’ is closed to new replies.