Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get user by meta wp

get_users(array(
    'meta_key' => 'parent_id',
    'meta_value' => '42',
	'fields'=>'ids' //if you want only id of the user
))
 
PREVIOUS NEXT
Tagged: #user #meta #wp
ADD COMMENT
Topic
Name
9+7 =