wp_reorder_menu_items tool reference for StifLi Flex MCP
Writereorders menu items in one operation. It records the previous order for rollback.
Description
reorders menu items in one operation. It records the previous order for rollback.
What it is for
- Reorganizing navigation in an auditable way.
Example use case
prioritizing a sales page.
Sample prompt
Reorder the main navigation menu so Pricing appears before Blog and keep the existing hierarchy intact.
Sample response
{
"tool": "wp_reorder_menu_items",
"status": "ok",
"updated": true
}
What does wp_reorder_menu_items do?
reorders menu items in one operation. It records the previous order for rollback.
Does wp_reorder_menu_items modify site data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_theme_options and the active MCP profile.
How should wp_reorder_menu_items be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
