Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Is it possible to automatically run some wp-cli commands after staging



Normal Mode | Print  

Is it possible to automatically run some wp-cli commands after staging
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5677
Status:
Hi,

Sorry for the delay in response.

Yes this is possible but you will need root access to the server to configure this.

You can do the above steps by using filters in Softaculous. Filters are PHP files which you can configure to execute your PHP function when a particular task is done in Softaculous. You can also execute shell commands using shell_exec or exec functions.

You can use the post_staging filter to execute code after staging is done :
https://www.softaculous.com/docs/developers/filters/#post_staging

You can use the post_pushtolive filter to execute code after push to live is done :
https://www.softaculous.com/docs/developers/filters/#post_pushtolive


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


Threads
 ratcliffe_mike   Is it possible to automatically run some wp-cli commands after staging (2 Replies, Read 70762 times)
    |--  Brijesh   Hi, Sorry for...   on May 14, 2021, 2:32 pm
    |--  ratcliffe_mike   Perfect, that looks...   on May 14, 2021, 2:41 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is June 20, 2024, 9:00 am.

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