dsawardekar / wp-asset-manager
Object Oriented Approach to Script & Stylesheet Management in WordPress
dev-develop
2014-07-27 07:33 UTC
Requires (Dev)
- dsawardekar/encase-php: ~0.1.1
- phpunit/phpunit: ~3.7.0
This package is not auto-updated.
Last update: 2024-12-21 17:27:41 UTC
README
An Object Oriented Approach to Asset Management in WordPress.
Deprecated. This repo has been merged into Arrow.
Usage
$container->factory('script', 'WpAssetManager\Script'); $container->factory('scriptLoader', 'WpAssetManager\ScriptLoader'); $scriptLoader = $container->lookup('scriptLoader'); $scriptLoader->schedule('my-script-slug'); $scriptLoader->load();