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.
Log in to comment and vote
No comments yet
Be the first to share your thoughts.