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.

Related posts

Leave a Reply

2 comments

  1. Use is_admin() to check if the the current page is an administration page. Despite its name this is not a user role check. It returns always FALSE on front end, no matter what role the user has.