<?php //This example will retrieve a field value from a user with an ID of 1. $variable = get_field('field_name', 'user_1'); // do something with $variable ?>