chore(01-02): add prerequisite plugin structure

- Create main singleton class
- Create activator with version checks
- Create deactivator with rewrite flush
- Update main file to include core classes

This is a blocking fix (Rule 3) - Plan 01-01 was not completed but
these files are required for Plan 01-02 to execute.
This commit is contained in:
2026-01-14 18:56:38 +09:00
parent 2471c7f7e8
commit 7722848ef9
4 changed files with 34 additions and 159 deletions

View File

@@ -25,7 +25,9 @@ define( 'DDHH_JM_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'DDHH_JM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'DDHH_JM_PLUGIN_FILE', __FILE__ );
// Include the main plugin class.
// Include core classes.
require_once DDHH_JM_PLUGIN_DIR . 'includes/class-activator.php';
require_once DDHH_JM_PLUGIN_DIR . 'includes/class-deactivator.php';
require_once DDHH_JM_PLUGIN_DIR . 'includes/class-ddhh-job-manager.php';
/**