Home Forums General Issues Search by "user" field syntax? Reply To: Search by "user" field syntax?

  • Hi @soulhuntre

    Your code looks good, make sure all the follow are correct:
    1. $current_user->ID is valid data (print_r it to debug)
    2. check postmeta table and find a value that your field has stored. What does the data look like. Is it a single ID? or is it an array?
    3. print_r the result of $posts. What do you get?