API Reference

WordPress / API Reference

wp_widget_scaffold_elementor

WordPress tool. Generate the PHP skeleton for a custom Elementor widget

This is a read-only tool: it returns widget scaffold elementor 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:

Widget scaffold elementor in my WordPress account for [widget name], [widget title].

It takes 2 required and 4 optional parameters.

Parameters

ParameterTypeRequiredDescription
widget_namestringYesWidget Name
widget_titlestringYesWidget Title
widget_iconstringNoWidget Icon
categorystringNoCategory
controlsarrayNoControls
sectionsarrayNoSections

Related WordPress tools

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.