In this section you can create custom environment variables, that you can later use in your code.

The variables you set here are injected at runtime. These variables can be accessed though PHP code by using the function getenv .

Environment section

For example, let's say you want your trash to be emptied every 7 days. You can create an environment variable called EMPTY_TRASH_DAYS with the value 7, which you can then use in your wp-config file .

define( 'EMPTY_TRASH_DAYS', getenv('EMPTY_TRASH_DAYS') );

If when you've migrated your site you've used our Example project for running a classic WordPress setup on Presslabs Stack , then the variables can be used in wp-config by editing the file ./config/wp-config.php .

See Also


This Events section contains logs about the events that take place within your site.

Getting Started

Here you'll find concise steps and pre-filled commands to perform common operations.


When you click on the **Logs** section, you'll be redirected to your Google account, to the Google [...]

Page Caching

Configure full page cache for your site to increase performance and ease the load on your WordPress [...]