Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use proper namespace #7

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ composer require alleyinteractive/wp-plugin-loader
Load the package via Composer and use it like so:

```php
use Alley\WP\WP_Plugin_Loader;
use Alley\WP\WP_Plugin_Loader\WP_Plugin_Loader;

new WP_Plugin_Loader( [
'plugin/plugin.php',
Expand Down Expand Up @@ -43,7 +43,7 @@ The package supports preventing activations of plugins via the plugins screen
(useful to fully lock down the plugins enabled on site):

```php
use Alley\WP\WP_Plugin_Loader;
use Alley\WP\WP_Plugin_Loader\WP_Plugin_Loader;

( new WP_Plugin_Loader( [ ... ] )->prevent_activations();
```
Expand All @@ -60,7 +60,7 @@ operation that can be cached with APCu. To enable caching, call
prefix.

```php
use Alley\WP\WP_Plugin_Loader;
use Alley\WP\WP_Plugin_Loader\WP_Plugin_Loader;

( new WP_Plugin_Loader( [ ... ] ) )->enable_caching();

Expand Down