-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin-directory.php
More file actions
28 lines (24 loc) · 812 Bytes
/
plugin-directory.php
File metadata and controls
28 lines (24 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
<?php
/**
* Plugin Name: Plugin Directory
* Plugin URI: https://wordpress.org/plugins/
* Description: Transforms a WordPress site in The Official Plugin Directory.
* Version: 3.0
* Author: the WordPress team
* Author URI: https://wordpress.org/
* Text Domain: wporg-plugins
* License: GPLv2
* License URI: https://opensource.org/licenses/gpl-2.0.php
*
* @package WordPressdotorg_Plugin_Directory
*/
namespace WordPressdotorg\Plugin_Directory;
/**
* Store the root plugin file for usage with functions which use the plugin basename.
*/
define( __NAMESPACE__ . '\PLUGIN_FILE', __FILE__ );
// Register an Autoloader for all files
require __DIR__ . '/class-autoloader.php';
Autoloader\register_class_path( __NAMESPACE__, __DIR__ );
// Instantiate the Plugin Directory
Plugin_Directory::instance();