-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.php
42 lines (37 loc) · 1.5 KB
/
plugin.php
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
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Load the ft-network-block-patterns WordPress plugin.
*
* Replaces block-patterns taken from themes,
* with customized versions for the figuren.theater WordPress multisite network.
*
* @package figuren-theater/ft-network-block-patterns
* @author figuren.theater
* @copyright 2024 figuren.theater
* @license GPL-3.0+
*
* @wordpress-plugin
* Plugin Name: f.t | NETWORK Block Patterns
* Plugin URI: https://github.com/figuren-theater/ft-network-block-patterns
* Description: Replaces block-patterns taken from themes with customized versions for the figuren.theater WordPress multisite network.
* Version: 1.1.2
* Requires at least: 6.0
* Requires PHP: 7.1
* Author: figuren.theater
* Author URI: https://figuren.theater
* Text Domain: ft-network-block-patterns
* Domain Path: /languages
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Update URI: https://github.com/figuren-theater/ft-network-block-patterns
*/
namespace Figuren_Theater\Site_Editing\Network_Block_Patterns;
use function add_action;
const DIRECTORY = __DIR__;
/**
* TO REMOVE
*
* @todo https://github.com/figuren-theater/ft-network-block-patterns/issues/7 Add (composer) autoloading strategy
*/
require_once DIRECTORY . '/inc/namespace.php'; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.UsingCustomConstant
add_action( 'init', __NAMESPACE__ . '\\register' );