Get Additional CSS
Shows the site's Additional CSS — the custom CSS added on top of the theme — as it will be once the theme draft is published, next to what visitors get now. On a block theme this is the Site Editor's Additional CSS, and any older Customizer CSS the theme still prints is shown too. Read-only.
Also known as: custom CSS, extra CSS, style overrides.
| Property | Value |
|---|---|
| Ability slug | mosmcp/site-css-get |
| Wire tool name | mosmcp__site-css-get |
| Category | Theme: Custom CSS and Settings (mosmcp-theme-customize) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_theme_options |
| Minimum default role | Administrator (Shop manager too when WooCommerce is active) |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| target | string (one of auto, global_styles, customizer) |
auto |
"auto" (the active theme's own place), "global_styles" (the Site Editor, block themes) or "customizer". |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| target | string | Yes | "global_styles" (Site Editor) or "customizer". |
| css | string | Yes | The CSS once the draft is published. |
| bytes | integer | ||
| pending | boolean | Whether the theme draft changes it. | |
| live_css | string | The CSS visitors get now. | |
| other | string | Older Customizer CSS a block theme still prints, if any. | |
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Set Site Logo | List Theme Settings |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.