Run Code Snippet after add to site

It would be nice to have if we could execute a custom code snippet after adding a site, just like applying the global extension settings:We run a script containing several functions (like password reset, license activations, no-index check, etc.) when we deliver a site. So it would be nice if we could run this.Another way we thought of would be to use the https://mainwp.dev/hooks/mainwp_added_new_site/ hook, but then we don't get to see the output of our snippet.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
⚒️

Core Requests (Dashboard/Child)

Date

About 1 year ago

Author

Imported from Legacy Board

Subscribe to post

Get notified by email when there are changes.