Viewing 1 replies (of 1 total)
  • Hi,

    You can use the following condition to show link to administrator users.

    if(current_user_can(‘administrator’) && is_admin()){
    //Your Link Here
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Display a link only to admins’ is closed to new replies.