Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : trigger wp install with custom plugins via API



Threaded Mode | Print  

 trigger wp install with custom plugins via API (1 Replies, Read 1697 times)
bobsagat
Group: Member
Post Group: Newbie
Posts: 6
Status:
We've added a few custom plugins to our wordpress installation page utilizing this process: http://softaculous.com/docs/Adding_Plugins

Is it possible to trigger installing one or more of these plugins during an API installation of wordpress? Using the wiki example, we'd want to be able to install wordpress with or without smart-maintenance-mode via API calls without creating an entirely new custom package.
IP: --   

trigger wp install with custom plugins via API
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Yes you can trigger the plugin install while installing WordPress via API. You just need to add the input name of your plugin that you created in the POST parameters.

E.g. your plugin name is :
Code
<input type="checkbox" name="smart-maintenance-mode" value="off">


In the POST parameters add :
'smart-maintenance-mode' => 1

So this will trigger the install for WordPress plugin that you have added.

Do let us know if you face any issues.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 1:15 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.032