{"version":"2.0.42","anchor":"plugin-hook-filtering","canonical_anchor":"plugin-hook-filtering","heading":"Plugin Hook Filtering","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42\/e\/plugin-hook-filtering","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42","markdown":"### Plugin Hook Filtering\n\n**What:** Function-type hooks are now filtered out when serializing plugin hooks.\n\n**Details:**\n\n- Function `Er2()` at line 472146 adds `.filter((Q) => Q.type !== \"function\")` to hook serialization\n- Prevents function-type hooks from being included in serialized plugin configurations\n- **Evidence**: `Er2() at line 472146-472151`\n\n**Why it matters:** Function-type hooks cannot be serialized to JSON, so filtering them prevents serialization errors."}