#!/bin/bash

echo "🔍 Checking Manage Event Page Locally..."
echo "========================================"

# Check local plugin files
echo -e "\n📋 Checking shortcode registration in class-hvac-shortcodes.php:"
grep -A 10 "manage_event" includes/class-hvac-shortcodes.php

echo -e "\n📋 Checking shortcode render method:"
grep -A 15 "render_manage_event" includes/class-hvac-shortcodes.php

echo -e "\n📋 Checking if REST API script is enqueued:"
grep -r "hvac-rest-api-event-submission" includes/

echo -e "\n📋 Checking Scripts & Styles class for event manage page:"
grep -A 10 "event/manage" includes/class-hvac-scripts-styles.php

echo -e "\n✅ Check complete"