Shiftee

Shiftee Actions

Shiftee has several actions to help you customize the plugin to meet your needs.

shiftee_drop_shift_action( $shift_id, $employee_id )

Description: Runs when a staff member drops a shift.
Parameters:

  • $shift_id: the ID of the dropped shift
  • $employee_id: the ID of the staff member who dropped the shift

Source file: class-shiftee-admin.php


shiftee_pick_up_shift( $shift_id )

Description: Runs when a staff member picks up a shift.
Parameters:

  • $shift_id: the ID of the shift

Source file: class-shiftee-public.php