Automate actions when creating a website with wordpress toolkit.
Hi,
I am currently building a cPanel plugin that works alongside wordpress installations which require data being placed into the databases of the wordpress install.
I have looked at the hook debug logs and I am not seeing any hookable actions being fired with any relevant data when a new wordpress site is being installed.
I came across
-
Hey there! The closest option I would have is the Rest API tools. If you check WHM >> WordPress Toolkit >> Settings, you'll see the following: And clicking that "Open REST API documentation" link will open a page within WHM that gives you more details. 0 -
Hi cPRex, Unfortunately this would not work for our use case, we are looking for an event that lets us know when a new site has been installed so we can add the required data to the install for our wordpress plugin to function correctly. I saw there were custom hooks WHM plugins can create, I hope there are hooks created by the WP toolkit that are documented somewhere that we have missed. Thanks. 0 -
As of this point there aren't any additional hooks that WPT calls. Could you use the link in my signature to submit a feature request? Once that's been done I can bring it up with our development team. 0
Please sign in to leave a comment.
Comments
3 comments