Skip to main content
Run any Skill in Manus
with one click

plugin-hooks

Stars6
Forks2
UpdatedMarch 30, 2026 at 21:48

Adds a new event hook to src/Plugin.php following the getHooks() + getRequirements() pattern. Use when user says 'add hook', 'register event', 'handle new license event', or adds a handler method to Plugin. Covers getHooks() registration, getRequirements() loader entry, and static method with GenericEvent $event signature. Do NOT use for modifying existing hooks or adding functions to directadmin.inc.php alone.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly