wp-plugin-assets-loading
CommunityEnqueue plugin assets with modern loading.
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Register and enqueue WordPress plugin assets in a way that respects correct contexts, loading strategies, and modern WP APIs to avoid asset bloat and compatibility issues.
Core Features & Use Cases
- Ensure assets load on frontend, admin, or login screens with correct hooks and dependencies.
- Support wp_enqueue_script, wp_enqueue_style, Script Modules, and fetchpriority for optimized performance.
- Use Case: A plugin that adds a settings page and a frontend widget can load assets only on relevant pages without affecting other admin or frontend areas.
Quick Start
Configure asset registration to run on the correct WP hooks and optionally load as modules with appropriate fetchpriority for your plugin assets.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wp-plugin-assets-loading Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wp-plugin-assets-loading Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.