All developer endpoints are available since v2.9.0.
GET /developer/hooks
Returns all registered WordPress hooks and their callbacks. Results are limited to 2000 entries.Parameters
Filter results to hooks or callbacks whose name or source file contains this string.
Filter results to callbacks defined in files whose path contains this string.
Response
Number of entries returned (capped at 2000).
GET /developer/rest-routes
Lists all registered WordPress REST API routes with their methods and namespace.Response
Total number of routes.
POST /developer/rest-request
Proxies an authenticated internal REST API request and returns the response along with timing information. Useful for testing REST endpoints from the browser.Parameters
HTTP method:
GET, POST, PUT, PATCH, or DELETE. Defaults to GET.The REST route path (e.g.
/wp/v2/posts).Request parameters to pass to the internal request.
Additional headers to attach to the internal request.
Response
HTTP status code returned by the proxied request.
Response headers from the proxied request.
Parsed response body.
Round-trip execution time in milliseconds.
POST /developer/generate
Generates dummy posts, pages, users, or WooCommerce products tagged with_wmp_dummy_data for easy cleanup.
Parameters
Type of content to generate:
post, page, user, or product (requires WooCommerce).Number of items to generate. Maximum
50. Defaults to 1.Response
Array of IDs of the created items.
Number of items successfully created.
Array of error messages for items that failed to generate.
GET /developer/dummy-stats
Returns counts of dummy-tagged posts and users currently in the database.Response
Number of posts/pages/products tagged as dummy data.
Number of users tagged as dummy data.
Total dummy items across posts and users.
Whether WooCommerce is active.
DELETE /developer/dummy
Deletes all posts, pages, and users tagged with_wmp_dummy_data.
Response
Number of posts deleted.
Number of users deleted.
Total items deleted.
GET /developer/rewrite-test
Tests a URL against the site’s registered rewrite rules and returns which rule matched and what query variables were resolved.Parameters
The URL to test. The site URL prefix is stripped automatically.
If
true, returns only the full list of rewrite rules without testing a URL.Response
The normalised URL path that was tested.
true if a rewrite rule matched.The matching regex pattern.
The raw redirect string from the matched rule.
Resolved WordPress query variables.
Regex capture groups from the URL match.
All registered rewrite rules as
{pattern, redirect} objects.GET /developer/cache-keys
Browses object cache keys. Supports Redis (via SCAN) and the default WordPress in-memory cache.Parameters
Filter keys to those containing this prefix string.
Response
The detected cache backend:
redis, wp, or none.Total keys found (up to 500).
GET /developer/cache-value
Retrieves the value of a specific cache key.Parameters
The cache key to retrieve. For the default WP cache, use
group:key format.Response
The requested cache key.
Value type.
The cached value. Type depends on the stored data.
DELETE /developer/cache-key
Deletes a specific cache key.Parameters
The cache key to delete. For the default WP cache, use
group:key format.Response
true if the key was found and deleted.GET /developer/prefix-info
Returns the current database table prefix and a list of all matching tables with their row counts.Response
The current
$table_prefix value (e.g. wp_).Number of tables using the current prefix.
POST /developer/change-prefix
Renames all database tables from the current prefix to a new one, updates option names in theoptions table, updates meta keys in the usermeta table, and rewrites the $table_prefix line in wp-config.php.
Parameters
The new table prefix. May contain letters, numbers, and underscores. A trailing underscore is appended automatically if omitted.
If
true, returns a preview of the rename operations without making any changes. Defaults to false.Response
true if all tables were renamed without errors.The previous prefix.
The new prefix.
Number of tables renamed.
Array of
{old, new} rename pairs.Error messages for any tables that failed to rename.
Whether
wp-config.php was updated successfully.Present and
true when a dry run was performed. The preview array contains the proposed renames.