Snippet types
Each snippet has one primary type. Pick the type that matches how the code should be wrapped and validated.
PHP
Server-side logic, hooks, filters, and conditional output. PHP is off globally by default and requires explicit enablement.
CSS
Styles injected according to location rules — typically header or footer.
JS
Client-side scripts. Prefer footer placement unless the script must run in the head.
HTML
Markup blocks for banners, notices, or embed containers. Often paired with shortcode-only placement.
Mixed
Combines multiple languages in one snippet when they belong together. Use when splitting would make the feature harder to maintain.