Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)
  • You could try this instead:

    Code:
    global $current_user;
    get_currentuserinfo();
    $user_id = $current_user->ID;
    $field = xprofile_get_field_data(1, $user_id); //where 1 is the field_id or use quotes for a field name and the user_id is the currently logged in user
    echo ‘<a href="hxxp://somedomain.com/something.jsp?’ . $field . ‘">Your Text</a>’;
Viewing 1 replies (of 1 total)
Skip to toolbar