WHERE clause with user_email
-
I am trying to create a table that displays a list of custom posts which are associated only to the logged in user.
Can I use the where clause to specify that the custom post type’s field (applicant_username) matches the wp user_email?
I have tried
- applicant_username=t.user_email
- applicant_username.meta_value=t.user_email
But this isn’t working.
Thanks for your help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WHERE clause with user_email’ is closed to new replies.