Adding a custom link
-
I know this has been brought up before and I’ve also read all the documentation on wpusersplugin.com. However, I am still stuck.
On my site I am using User Profile Made Easy (https://profileplugin.com/). It uses user_ID to retrieve any users profile, e.g. xxxxx.com/profile/?viewuser=1. I’d like to add this to the column display_name. I know in a previous version I was able to do this via ‘Before’ and ‘After’ (I did something like this for a private messaging plugin). But for the life of me I can’t remember how I did it.
I wouldn’t mind adding a custom function, but am not sure how. I tried this example, reasoning I could adapt it to my needs:
if (!function_exists('ausers_format_user_nicename')) { function ausers_format_user_nicename($v, $u) { if (!empty($u->user_url)) return ('user_url.'">'.$v.''); else return ($v); } }
But I am greeted with a white screen in amr. Any assistance would be greatly appreciated.
- The topic ‘Adding a custom link’ is closed to new replies.