• Resolved supernova42

    (@supernova42)


    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)
  • Plugin Author xnau webdesign

    (@xnau)

    There isn’t enough context here to give you an answer. If the user id is the WordPress user ID, there are direct ways to get that.

    Thread Starter supernova42

    (@supernova42)

    okay thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting the user_id from pdb_single template’ is closed to new replies.