Action hook/filter event

Discussion in 'Plugins/Modules/Addons' started by panurge, Jan 9, 2014.

  1. panurge

    panurge New Member

    Hello

    Some websites require a custom configuration template. Anyway to recreate them (conf files) after a "site save"?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The server event is named "web_domain_insert", you subscribe a function in your server plugin to this event like this:

    $app->plugins->registerEvent('web_domain_insert', $this->plugin_name, 'my_insert_function');

    take a look at the apache plugin to get an example on subscribng to that event.
     

Share This Page