WP Manifestindependent plugin directory
manifest / events / mythingdong-hotel-core

Mythingdong Hotel Core

WordPress plugin for Mythingdong hotel QR order, room request, inventory, and partner API system.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/kms302400-dotcom/mythingdong-hotel-core/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress backend plugin for the Mythingdong hotel QR ordering and guest request service.

Features

  • Creates hotel service tables on plugin activation.
  • Adds WordPress admin pages for hotels, rooms, inventory, guest requests, and partner API tokens.
  • Provides basic CRUD screens with nonce, capability checks, sanitization, and escaping.
  • Exposes partner REST API endpoints under /wp-json/mtd/v1.
  • Keeps WooCommerce integration fields (wc_product_id, wc_order_id) ready for later linking without modifying WooCommerce core.

Tables

The plugin creates these tables using the active WordPress database prefix:

  • mtd_hotels
  • mtd_hotel_rooms
  • mtd_hotel_inventory
  • mtd_hotel_service_requests
  • mtd_partner_tokens

For example, on a default WordPress install they will be created as wp_mtd_hotels, wp_mtd_hotel_rooms, and so on.

REST API

  • GET /wp-json/mtd/v1/health
  • GET /wp-json/mtd/v1/partner/me
  • GET /wp-json/mtd/v1/partner/requests
  • POST /wp-json/mtd/v1/partner/requests/{id}/status

Partner endpoints require:

Authorization: Bearer YOUR_PARTNER_TOKEN

Partner tokens are generated in 마이띵동 호텔 > API 토큰 관리. The plaintext token is displayed only once after creation; only its password hash is stored.

Installation

Copy this folder to:

wp-content/plugins/mythingdong-hotel-core/

Then activate Mythingdong Hotel Core from the WordPress admin plugins page.