In my application, i have one form.
Now if user is in front end i want to display the title but if he is in back end i do not want to display it.
I do not want to check it based on user role.
Use is_admin()
. It checks if you’re viewing an Admin page, means the backend.