Current User link shortcode

This function adds a shortcode that display a link if user is logged in.

Make sure to:

  • change link and text on line 11
Shortcode:

[current_user_link]

Array

Profile Builder Pro

Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.

Unlock PRO Features

Or download FREE version