Files
2meet-data-optimizer-latepo…/2meet-data-optimizer-latepoint-addon.php
T
wpdev 8393b213ae
Tests / PHP Lint (pull_request) Successful in 7s
chore(2meet-data-optimizer-latepoint-addon): add hpct_latepoint_idx install
- Create hpct_latepoint_idx via dbDelta keyed on a version option, so
  git-pull deploys also get the table (interceptor wrote to it blindly)
- Register the table with TMDO_Custom_Table_Registry; fix indexes key
- Bump version to 0.1.1

Verify: php -l includes/*.php; git status --short clean
PR: PR-001
2026-09-25 20:23:28 +08:00

41 lines
1.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Plugin Name: 2meet Data Optimizer — Latepoint AddOn
* Plugin URI: https://2meet.io/2meet-data-optimizer/latepoint
* Description: LatePoint 預約系統 booking 索引同步(4 hook → wp_hpct_latepoint_idx)
* Version: 0.1.1
* Requires at least: 6.0
* Tested up to: 6.9.4
* Requires PHP: 8.1
* Requires Plugins: 2meet-data-optimizer, latepoint
* Author: 2meet
* Author URI: https://2meet.io
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: tmdo-latepoint
*
* TablePrefix: ^hpct_latepoint_[a-z_0-9]+$
* Domain Path: /languages
*
* @package TMDO_LATEPOINT
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'TMDO_LATEPOINT_VERSION', '0.1.1' );
define( 'TMDO_LATEPOINT_PATH', plugin_dir_path( __FILE__ ) );
define( 'TMDO_LATEPOINT_URL', plugin_dir_url( __FILE__ ) );
define( 'TMDO_LATEPOINT_FILE', __FILE__ );
require_once TMDO_LATEPOINT_PATH . 'includes/class-tmdo-latepoint-bootstrap.php';
require_once TMDO_LATEPOINT_PATH . 'includes/back-compat-aliases.php';
/**
* Phase 3 任務:完成本 AddOn 的 includes/ 實作。
*
* @see ~/.claude/plans/wp-data-optimizer-2meet-data-optimizer-zesty-liskov.md
*/
add_action( 'plugins_loaded', array( 'TMDO_Latepoint_Bootstrap', 'init' ), 6 );