How to check if user is in back end?

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.

2

Use is_admin(). It checks if you’re viewing an Admin page, means the backend.

Leave a Comment