Code in front end does not work. Help needed??
I have the following code in the front end of my site, while users/members are logged in:
<a href="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=1&uid=<?php echo $current_user->ID; ?>?iframe=true&width=520&height=350" title="Upload and Crop an Image to be Displayed" target="_blank">Update Picture</a>
However it comes up with errors. Could someone please tell me what I am doing wrong ?
- The topic ‘Code in front end does not work. Help needed??’ is closed to new replies.