---
title: PHP Constants
---

# PHP Constants

<div class="documentation__toc"></div>

### IS_ADMIN

Defined `true` or `false` indicating whether the request is being made within the administrative control panel.

This can be used to conditionally register services for example.
 
```php
if (IS_ADMIN) {
    // Do as the admins do.
}
```
