-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblock.php
More file actions
31 lines (25 loc) · 812 Bytes
/
Copy pathblock.php
File metadata and controls
31 lines (25 loc) · 812 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
31
<?php
/**
* Plugin Name: Funky Headline
* Description: Gutenberg game day block with an eye-catching look :)
* Requires at least: 6.5
* Requires PHP: 8.2
* Version: 0.0.1
* Author: Marko Nikolaš
* License: GPL-2.0
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: funky-headline
* Domain Path: funky-headline
*
* @package funky-headline
*/
use FunkyHeadline\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if( ! file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
wp_admin_notice( 'Funky Headline plugin error: Please run "composer install" command from the plugin root directory to install required dependencies.' );
return;
}
require_once __DIR__ . '/vendor/autoload.php';
( new Plugin() )->init();