-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobject-storage.php
More file actions
33 lines (27 loc) · 928 Bytes
/
object-storage.php
File metadata and controls
33 lines (27 loc) · 928 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
32
33
<?php
/**
* WordPress Object Storage
* @package Rockschtar\WordPress\ObjectStorage
* @author Stefan Helmer
* @copyright 2020 Stefan Helmer
* @license MIT
* @wordpress-plugin
* Plugin Name: WordPress Object Storage
* Plugin URI: https://eracer.de
* Description: Transients in green
* Version: develop
* Requires PHP: 8.3
* Requires at least: 6.8
* Author: Stefan Helmer
* Author URI: https://eracer.de
* License: MIT License
* License URI: https://tldrlegal.com/license/mit-license
**/
use Rockschtar\WordPress\ObjectStorage\Controller\PluginController;
define('RSOS_PLUGIN_DIR', plugin_dir_path(__FILE__));
const RSOS_PLUGIN_FILE = __FILE__;
if (file_exists(RSOS_PLUGIN_DIR . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php')) {
require_once 'vendor/autoload.php';
}
PluginController::init();
require_once 'functions.php';