Download the PHP package alleyinteractive/wp-asset-manager without Composer
On this page you can find all versions of the php package alleyinteractive/wp-asset-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alleyinteractive/wp-asset-manager
More information about alleyinteractive/wp-asset-manager
Files in alleyinteractive/wp-asset-manager
Package wp-asset-manager
Short Description Asset Manager is a toolkit for managing front-end assets and more tightly controlling where, when, and how they're loaded.
License GPL-2.0-only
Informations about the package wp-asset-manager
WordPress Asset Manager
Asset Manager is a toolkit for managing front-end assets and more tightly controlling where, when, and how they're loaded.
Installation
Download a tagged release, install it into your plugins directory, and activate it on the plugins screen.
Or install with Composer:
Quick start
The am_enqueue_* functions take the same parameters as their core WordPress equivalents, plus a few of their own. Options can be passed as an array or as individual parameters.
Documentation
Full API reference lives in the wiki:
- Enqueue Functions —
am_enqueue_script,am_enqueue_style, and the full list of enqueue options. - Conditions — control when an asset loads, and register your own conditions.
- Inline Assets — print file contents or global JavaScript variables into the document.
- Preload —
am_preloadand its options. - SVG Sprite — register, display, and manage SVG symbols in a sprite sheet.
Requirements
- WordPress: 6.3+
- PHP: 8.3+
Downloads and Versioning
You can view Asset Manager's official releases here.
The production branch is the latest stable release. The production-built branch tracks the same release with dependencies included, for sites that install the plugin directly from Git.
License
GPL-2.0-only
Contributing
Bug reports and pull requests are welcome. See CONTRIBUTING.md for setup, tests, and coding standards.