Shiftee Basic

Shiftee Basic Filters

Shiftee Basic includes several filters to help you customize the plugin for your needs.

shiftee_filter_shift_type_labels( $labels )

Description: Filters the labels for the “shift type” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_shift_status_labels( $labels )

Description: Filters the labels for the “shift status” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_location_labels( $labels )

Description: Filters the labels for the “location” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_job_category_labels( $labels )

Description: Filters the labels for the “job category” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_expense_category_labels( $labels )

Description: Filters the labels for the “expense category” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_expense_status_labels( $labels )

Description: Filters the labels for the “expense status” taxonomy
Parameters:

  • $labels: array of taxonomy labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_shift_labels( $labels )

Description: Filters the labels for the “shift” custom post type
Parameters:

  • $labels: array of custom post type labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_job_labels( $labels )

Description: Filters the labels for the “job” custom post type
Parameters:

  • $labels: array of custom post type labels

Source File: class-shiftee-basic-admin.php


shiftee_filter_expense_labels( $labels )

Description: Filters the labels for the “expense” custom post type
Parameters:

  • $labels: array of custom post type labels

Source File: class-shiftee-basic-admin.php


shiftee_admin_notification_cc( $cc, $employee_id )

Description: Filters the ‘cc’ field on notifications sent to the site admin
Parameters:

  • $cc: contents of the ‘cc’ field
  • $employee_id: ID of the staff member associated with the notification

Source File: class-shiftee-basic-admin.php


shiftee_allowed_user_roles( $roles )

Description: Filters the list of user roles that are allowed to access Shiftee content, such as the Master Schedule
Parameters:

  • $roles: array of user roles

Source File: class-shiftee-basic-admin.php


shiftee_employee_shift_notification_cc( $cc )

Description: Filters the ‘CC:’ on the email that notifies staff that a shift has been created/updated and assigned to them
Parameters:

  • $cc: email address to CC on the email

Source File: class-shiftee-basic-admin.php


shiftee_employee_label( $content )

Description: Filters the word “Staff” – useful if you want to change “staff” to “volunteer” or something else in the public views
Source File: shortcode-master-schedule.php


shiftee_job_label( $content )

Description: Filters the word “Job”
Source File: single-shift.php


shiftee_today_shortcode( $content )

Description: Filters the content of the [today] shortcode
Parameters:

  • $content: the shortcode content

Source File: shortcode-master-schedule.php