I want to display something in my view only visible to admin users (a link back to the entry).
Any ideas how? I've tried putting some php in the view but it converts it into text so looking for another method.
As you already learned, PHP does not get entered in the editor. To show a link only to admins create a custom shortcode to display the link through this hook: https://formidableforms.com/knowledgebase/frm_display_entry_content/
Your code needs to test whether the current user is an admin or not and then branch accordingly.
Please login or Register to submit your answer