-
Notifications
You must be signed in to change notification settings - Fork 1
/
ubc-vpfo-find-a-space.php
48 lines (42 loc) · 1.26 KB
/
ubc-vpfo-find-a-space.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
43
44
45
46
47
48
<?php
/**
* Plugin Name: UBC VPFO Find A Space
* Description: Example block scaffolded with Create Block tool.
* Requires at least: 6.6
* Requires PHP: 7.0
* Version: 1.0.0
* Author: Paperleaf ZGM
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: ubc-vpfo-find-a-space
*
* @package CreateBlock
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
use UbcVpfoFindASpace\Find_A_Space;
require_once 'vendor/autoload.php';
/**
* Currently plugin version.
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'UBC_VPFO_FIND_A_SPACE_VERSION', '1.0.0' );
require plugin_dir_path( __FILE__ ) . 'includes/class-find-a-space.php';
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
function run_ubc_vpfo_find_a_space() {
// Instantiating the plugin class will register
// hooks related to plugin functionality.
new Find_A_Space();
}
run_ubc_vpfo_find_a_space();