-
Notifications
You must be signed in to change notification settings - Fork 0
/
andyp_page_builder_hero_random.php
27 lines (23 loc) · 2.07 KB
/
andyp_page_builder_hero_random.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
<?php
/*
Plugin Name: _ANDYP - Page Builder - Hero Randomiser
Plugin URI: http://londonparkour.com
Description: <em>PAGES > Page Builder Module - Hero Randomiser</em>
Version: 1.0
Author: Andy Pearson
Author URI: http://londonparkour.com
*/
define( 'ANDYP_PAGEBUILDER_HERO_PATH', __DIR__ );
define( 'ANDYP_PAGEBUILDER_HERO_URL', plugins_url( '/', __FILE__ ) );
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Register with ANDYP Plugins │
// └─────────────────────────────────────────────────────────────────────────┘
require __DIR__.'/src/acf/andyp_plugin_register.php';
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Use composer autoloader │
// └─────────────────────────────────────────────────────────────────────────┘
require __DIR__.'/vendor/autoload.php';
// ┌─────────────────────────────────────────────────────────────────────────┐
// │ Initialise │
// └─────────────────────────────────────────────────────────────────────────┘
new andyp\pagebuilder\hero_random\initialise;