How to query users who have empty first_name?
So far I have tried these three options and all 3 of them are not working. Option 1 $options = array( ‘meta_key’ => ‘first_name’, ‘meta_value’ => ”, ‘meta_compare’ => ‘=’, ); $users = get_users( $options ); Option 2 $options = array( ‘meta_key’ => ‘first_name’, ‘meta_value’ => null, ‘meta_compare’ => ‘=’, ); $users = get_users( $options … Read more