How nasabikram/bikram-appointment-scheduler works
Bikram Appointment Scheduler is a WordPress plugin for taking staff appointments and managing them in the admin. The main flow renders a shortcode booking form, checks date/staff availability, validates a submission, and saves a pending appointment; admins can manage appointment records and change status, with email notifications supported. The source excerpts establish the core booking and admin actions, but do not show all hook registrations or the JavaScript request flow, so those links are omitted or marked unverified.
Main entry points: class-bapsc.php Component setup · class-bapsc-ajax.php Booking endpoints · class-bapsc-emails.php Email notifications · bapsc-functions.php Booking data helpers
Components 16
Plugin runtime
- Plugin bootstrap
bikram-appointment-scheduler.php - Component setup
includes/class-bapsc.php - Scheduling settings
includes/class-bapsc-settings.php - Booking data helpers
includes/bapsc-functions.php
Booking flow
- Shortcode form
includes/class-bapsc-frontend.php - Booking browser script
assets/js/frontend.js - Booking endpoints
includes/class-bapsc-ajax.php - Slot availability
includes/class-bapsc-availability.php - Email notifications
includes/class-bapsc-emails.php
Admin management
- Staff and appointments
includes/class-bapsc-cpt.php - Appointment list
includes/class-bapsc-admin-list-table.php - Admin actions and export
includes/class-bapsc-admin-actions.php
WordPress services
- Appointment records
- WordPress mail
Other components
- Booking visitor
- Admin user
Connections 27
- Plugin bootstrap → Component setup: loads and starts
bikram-appointment-scheduler.php - Component setup → Staff and appointments: creates
includes/class-bapsc.php - Component setup → Scheduling settings: creates
includes/class-bapsc.php - Component setup → Slot availability: creates
includes/class-bapsc.php - Component setup → Booking endpoints: creates
includes/class-bapsc.php - Component setup → Shortcode form: creates
includes/class-bapsc.php - Component setup → Email notifications: creates
includes/class-bapsc.php - Component setup → Appointment list: creates
includes/class-bapsc.php - Component setup → Admin actions and export: creates
includes/class-bapsc.php - Booking visitor → Shortcode form: uses booking form
README.md - Shortcode form → Booking browser script: enqueues
includes/class-bapsc-frontend.php - Booking visitor → Booking endpoints: submits requests
- Booking endpoints → Slot availability: checks slots
includes/class-bapsc-ajax.php - Slot availability → Booking data helpers: reads appointments
includes/class-bapsc-availability.php - Slot availability → Booking data helpers: reads settings
includes/class-bapsc-availability.php - Booking data helpers → Scheduling settings: gets settings
includes/bapsc-functions.php - Booking endpoints → Appointment records: creates and saves
includes/class-bapsc-ajax.php - Booking data helpers → Appointment records: queries records
includes/bapsc-functions.php - Staff and appointments → Appointment records: stores metadata
includes/class-bapsc-cpt.php - Admin user → Appointment list: manages bookings
README.md - Appointment list → Appointment records: reads booking data
includes/class-bapsc-admin-list-table.php - Admin user → Admin actions and export: confirms or exports
includes/class-bapsc-admin-actions.php - Admin actions and export → Appointment records: updates status and reads
includes/class-bapsc-admin-actions.php - Admin actions and export → Email notifications: signals status change
- Booking endpoints → Email notifications: signals new booking
- Email notifications → Appointment records: reads booking data
includes/class-bapsc-emails.php - Email notifications → WordPress mail: sends notifications
includes/class-bapsc-emails.php