Activating snippets

Active snippets run according to their location and auto-insert rules. Inactive snippets are stored but not executed.

Toggling Active runs validation first for PHP snippets: syntax check and dangerous-function scan when enabled.

Deactivating stops output immediately on the next request. It does not delete code or version history.

Snippet editor with Active toggle and validation
Activate only after validation passes
Warning
  • Activating PHP on production without testing on staging can take down public pages if the code fatals.