How to create meta fields with more than 1 relation?
A better approach would be to save two meta fields. One for the candidateID and one for the recruiter. Then when you need to query the posts you should use the WP_Meta_Query with both meta fields and the relation argument set to ‘AND’: $args = array( ‘post_type’ => ‘opening’, ‘meta_query’ => array( ‘relation’ => ‘AND’, … Read more