API Reference

WordPress / API Reference

wp_widget_register_category

WordPress tool. Generate PHP code to register a custom Elementor widget category

This is a read-only tool: it returns widget register category 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 register category in my WordPress account for [category slug], [category title].

It takes 2 required and 1 optional parameter.

Parameters

ParameterTypeRequiredDescription
category_slugstringYesCategory Slug
category_titlestringYesCategory Title
category_iconstringNoCategory Icon

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.