All features

Cherry Blossom feature

Frontend: Enqueues

Provides access to the style and script registry singletons.

Provides access to the style and script registry singletons.

Capabilities and extension points

Provides access to the style and script registry singletons.

Initialization creates both managers so they can register their frontend, admin, and login hooks for the current request.

Initializes the enqueue managers and their WordPress hooks.

Provides an initialization hook-registration extension point.

Instantiates both asset registry managers.

Gets the style registry.

  • return Enqueues\Styles Style registry singleton.

Gets the script registry.

  • return Enqueues\Scripts Script registry singleton.

Source reference

This editable reference page is based on the PHP documentation in frontend/class-enqueues.php.