miniCal Actions
The list of the miniCal actions
miniCal provides us different hooks. They provide a way for running a function at a specific point in the execution of miniCal Core. Callback functions for an Action do not return anything back to the calling Action hook.
This list contains all the actions trigger points of miniCal. You can add a listener with the corresponding action
Booking Actions List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
do_action | post.create.booking | $data | After the creation of new booking |
do_action | post.delete.booking | $data | After deleting a booking |
do_action | post.update.booking | $data | After updating a booking data |
Customer Actions List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
do_action | post.create.customer | $data | After the creation of new customer |
do_action | post.delete.customer | $data | After deleting a customer |
do_action | post.update.customer | $data | After updating a customer data |
Charge Actions List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
do_action | post.create.charge | $data | After the creation of new charge |
do_action | post.delete.charge | $data | After deleting a charge |
do_action | post.update.charge | $data | After updating a charge data |
Payment Actions List
METHOD | NAME | PARAMETERS | USE CASE |
---|---|---|---|
do_action | post.create.payment | $data | After the creation of new payment |
do_action | post.delete.payment | $data | After deleting a payment |
do_action | post.update.payment | $data | After updating a payment data |
These are basically action triggers, you can add action listener like this:
Last updated