upskill-event-manager/templates/page-trainer-dashboard.php
bengizmo 81190ec4a0 Fix legacy URL redirects being intercepted by access control
- Added is_legacy_url() check in access control to allow redirects to happen first
- Legacy URLs like /hvac-dashboard/ now properly redirect to /trainer/dashboard/
- Prevents authentication check from blocking legacy URL redirects

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 19:45:43 -03:00

12 lines
No EOL
209 B
PHP

<?php
/**
* Template Name: Trainer Dashboard
* Description: Template for the trainer dashboard page
*/
get_header();
// Render the dashboard shortcode
echo do_shortcode('[hvac_dashboard]');
get_footer();