Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/piotrpress/wordpress-asset-block/archive/refs/heads/master.zipOn Packagist as piotrpress/asset-block:
composer require piotrpress/asset-blockNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress Asset Block
This plugin adds an Asset Block for enqueueing registered scripts and styles in content, solving the issue of loading assets with patterns.
Usage
1. Register script or style
2. Add Asset Block in editor and select registered script or style
Requirements
PHP = 7.4 version.
WordPress = 6.0 version.
License
GPL v3 or later