/*
Plugin Name: Simple Booking Plugin
Description: A free all-in-one booking system with category, date, time slot, and admin approval.
Version: 1.0
Author: ChatGPT
*/

defined('ABSPATH') or die('No script kiddies please!');

require_once plugin_dir_path(__FILE__) . 'includes/booking-shortcode.php';
require_once plugin_dir_path(__FILE__) . 'includes/booking-ajax.php';
require_once plugin_dir_path(__FILE__) . 'admin/booking-admin.php';

// Register custom post type
function sbp_register_booking_post_type() {
    register_post_type('sbp_booking', [
        'labels' => [
            'name' => 'Bookings',
            'singular_name' => 'Booking'
        ],
        'public' => true,
        'has_archive' => false,
        'supports' => ['title', 'custom-fields'],
        'show_in_menu' => true,
    ]);
}
add_action('init', 'sbp_register_booking_post_type');

require_once plugin_dir_path(__FILE__) . 'includes/booking-save.php';
require_once plugin_dir_path(__FILE__) . 'includes/booking-frontend.php';

require_once plugin_dir_path(__FILE__) . 'admin/booking-panel.php';
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://sportsloungepk.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://sportsloungepk.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://sportsloungepk.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://sportsloungepk.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://sportsloungepk.com/wp-sitemap-posts-elementor-hf-1.xml</loc></sitemap><sitemap><loc>https://sportsloungepk.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://sportsloungepk.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
