Skip to main content

One doc tagged with "Tenant Lifecycle Hooks"

View All Tags

Lifecycle hooks

In some cases, it can be very benificial to run some PHP in your tenants when certain important events happen. It could be important to add some user meta to the newly created user or update some posts when the tenant has been created. To enable this, WPCS supports several WordPress hooks that are called during important lifecycle events.