develtio / wp-loader
Loader by develtio.com
Installs: 4 917
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 9
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
This package is auto-updated.
Last update: 2025-03-22 05:14:49 UTC
README
Develtio - Loader
Loader by develtio.com
Installation
composer require develtio/wp-loader
Examples
use Develtio\WP\Loader\TypesLoader; (new TypesLoader(__DIR__ . '/post-types/*.php'))->run();
Group
use Develtio\WP\Loader\GroupLoader; use Develtio\WP\Loader\TypesLoader; $gl = new GroupLoader(); $gl->add(new TypesLoader(__DIR__ . '/post-types/*.php')); $gl->add(new TypesLoader(__DIR__ . '/taxonomies/*.php')); $gl->run();