Skip to content

Commit ca1da2c

Browse files
committed
feat: add bedrock-autoloader.php
1 parent 1b6bfbc commit ca1da2c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Plugin Name: Bedrock Autoloader
4+
* Plugin URI: https://github.com/roots/bedrock-autoloader
5+
* Description: An autoloader that enables standard plugins to be required just like must-use plugins. The autoloaded plugins are included during mu-plugin loading. An asterisk (*) next to the name of the plugin designates the plugins that have been autoloaded.
6+
* Author: Roots
7+
* Author URI: https://roots.io/
8+
* License: MIT License
9+
*/
10+
11+
namespace Roots\Bedrock;
12+
13+
if (is_blog_installed() && class_exists(Autoloader::class)) {
14+
new Autoloader();
15+
}

0 commit comments

Comments
 (0)