WP Pobierz Meta użytkownika
<?php
$meta_data = get_user_meta($user_id, $key, $single);
?>
Confused Copperhead
<?php
$meta_data = get_user_meta($user_id, $key, $single);
?>
get_users(array(
'meta_key' => 'parent_id',
'meta_value' => '42',
'fields'=>'ids' //if you want only id of the user
))