-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.php
More file actions
30 lines (27 loc) · 923 Bytes
/
Copy pathplugin.php
File metadata and controls
30 lines (27 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Plugin Name: Rehydrator
* Plugin URI: https://github.com/humanmade/rehydrator
* Description: Pattern-based content transformation for WordPress block migrations. Provides a fluent API for loading patterns, resolving nested references, and applying targeted transformations.
* Version: 1.4.1
* Author: Human Made
* Author URI: https://humanmade.com
* License: GPL-2.0-or-later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: rehydrator
* Requires at least: 6.0
* Requires PHP: 8.0
*
* @package HM\Rehydrator
*/
namespace HM\Rehydrator;
// Prevent direct access.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Load plugin files.
require_once __DIR__ . '/inc/blocks.php';
require_once __DIR__ . '/inc/content-parser.php';
require_once __DIR__ . '/inc/pattern-transformer.php';
require_once __DIR__ . '/inc/synced-patterns.php';
require_once __DIR__ . '/inc/class-template.php';