Pacific Safety Solutions

edit

By beng

PAC Safety System Overhaul – Custom WordPress Plugin & WooCommerce Dashboard Integration

Led the development of a custom plugin to update a legacy system where WordPress taxonomy terms were used to represent users. Migrated taxonomy based “assessors” into real WordPress users with login capabilities, linking historical Gravity Forms data, and integrating user-specific content within WooCommerce dashboards, with flexibility for future expansion.

  • Custom Plugin for User Migration & Form Entry Reassignment:
    Built a custom migration system encapsulated in a plugin that converted taxonomy terms into WordPress user accounts with a dedicated assessor role. Mapped ACF fields like name and email to user meta and reassigned historical Gravity Forms entries to match the new user accounts by updating the created_by field, preserving legacy data without manual effort. Used a batch processing with AJAX to handle the large scale user creation process without server timeouts and created an admin UI to trigger migrations, manage form IDs, and verify entry reassignment.
  • WooCommerce Dashboard Customization:
    Extended the WooCommerce “My Account” dashboard with a custom tab, “Field Safety Documents,” which is dynamically populated based on the user’s role. Integrated a custom template and logic to pull Gravity Forms entries for each user, enabling access to submitted forms, report data, and downloadable report PDFs.
  • Dynamic PDF Generation with Gravity PDF:
    Extended the WooCommerce “My Account” dashboard with a custom tab, “Field Safety Documents,” which is dynamically populated based on the user’s role. Integrated a custom template which included logic to pull Gravity Forms entry data for the active user, enabling access to submitted forms, report data, and downloadable report PDFs.

Regular Maintenance & Child Theme Enhancements
Additionally I performed ongoing maintenance tasks, including debugging, CSS adjustments via child theme customization, and general consulting on areas to improve.

Tech Stack: PHP, JavaScript, CSS, WordPress, ACF, Gravity Forms, Gravity PDF, WooCommerce, Docker, Git