dbout / wp-assets
Help library to manage Wordpress assets
Installs: 2 220
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-11-08 17:33:02 UTC
README
Librairie Wordpress permettant de gérer les assets.
Configuration minimale
- PHP >= 7.2
- Wordpress >= 3.2
- Composer
Installation
composer require dbout/wp-assets
Utilisation
use Dbout\WpAssets\Asset\Style; use Dbout\WpAssets\Asset\Script; (new Style('my-style', get_stylesheet_directory_uri() . 'app.css'))->register(); (new Script('my-script', get_stylesheet_directory_uri() . 'app.js'))->register();