Only call admin bar functions on the front-end of the site