do_action( "wpcd_server_{$this->get_app_name()}_{$name}_command_done", $id )
add_action( "wpcd_server_wordpress-app_prepare_server_command_done", 'my_function', 10, 1 ); public function my_function( $id ) { //your code here } }
This hook is fired after we have installed our software stack on the server and the server provisioning is complete.
At this point the server is stable and you should be able to connect to it.
This hook might fire more than once so make sure you guard against that possibility in your code.
Located in:
This hook is only available in WPCD versions 4.2.5 or later.