Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Adding varnish plugin by default for new wordpress installation



Threaded Mode | Print  

 Adding varnish plugin by default for new wordpress installation (1 Replies, Read 1597 times)
dadapro
Group: NOC
Post Group: Newbie
Posts: 1
Status:
Hello,

I'd like to know how to , for the new wordpress installation, activate varnish plugin by default at the installation moment. Not simply make it available, but enable by default. Is there some example or documentation to do it? Many thanks.
IP: --   

Adding varnish plugin by default for new wordpress installation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

You can use the post_install hook :
http://www.softaculous.com/docs/Hooks#post_install

This hook is executed after an installation is completed and you will have all the installation details like path, url etc.

You can unzip the plugin package and update the WordPress database to activate the plugin with the database details you will receive as a parameter.

You can refer to the following references for functions you can use to unzip files and execute queries to database :
http://www.softaculous.com/docs/Making_Custom_Package#Explanation_of_Important_functions

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, 8:54 pm.

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