Support

Account

Home Forums Add-ons Repeater Field Repeater Field user query

Unread

Repeater Field user query

  • Hi all,

    I do not get this working with a user query. This is because of the bug with% I can not solve it with a posts_where because it only works on the normal query and not for a WP_User_Query.
    Can anyone help me pleace

    $args = array(
    ‘role__in’ => [‘student’, ‘student_in_opleiding’],
    ‘meta_query’ =>
    array(
    //’relation’ => ‘AND’,
    array(
    ‘key’ => ‘diploma_mbk_%_diplomacode_mbk’,
    ‘compare’ => ‘=’,
    ‘value’ => ‘1’,
    )
    )
    );
    //print_r($args);
    $studentenData = new WP_User_Query($args);

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.