我有两个用户角色
1)供应商2)freevendor
在这里,我尝试使用以下用户角色Actions(
"""
actions{
ACTION_NAME=[ELEMENT,ANOTHER_ELEMENT,SOMETHING_ELSE]
ANOTHER_ACTION=[SOMETHING_HERE,AN0THER_ONE]
}""")
和Failure(ParseError(Position(109,4,39), ...
来获取用户,但是查询仅提取vendor
。
freevendor
那么我如何使用上面的代码段来获取多个用户角色freevendor
和$vendor_total_args = array (
'role' => 'vendor',
'role' => 'freevendor',
'orderby' => $orderby,
'order' => $order,
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'pv_merchant__experiance_dropdwon',
'value' => $_POST[ 'pv_merchant__experiance_dropdwon1' ],
'compare' => 'LIKE'
),
array(
'key' => 'pv_merchant_specialization',
'value' => $_POST[ 'pv_merchant__experiance_dropdwon2' ],
'compare' => 'LIKE'
)
)
);
。