WordPress / API Reference
elementor_custom_code_add
Elementor tool. Add a custom code snippet (header/body scripts) via Elementor
This is a read-only tool: it returns custom code add for your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Custom code add in my WordPress account for [title], [location], [code].
It takes 3 required and 3 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Title |
location | string | Yes | Location |
code | string | Yes | Code |
priority | integer | No | Priority |
conditions | array | No | Conditions |
status | string | No | Status |
Related WordPress tools
elementor_custom_code_listelementor_custom_code_removeelementor_custom_code_updateelementor_custom_fonts_addelementor_custom_fonts_listelementor_custom_fonts_remove
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.