Content API endpoints were added in v2.3.0.
/wp-json/wp-manager-pro/v1/content
All endpoints require X-WP-Nonce header with a wp_rest nonce and the manage_options capability.
GET /content/post-types
Returns all registered public post types.Response
Returns an array of objects:Post type slug (e.g.
post, page, product).Human-readable post type label.
GET /content/authors
Returns users who have theedit_posts capability (up to 200).
Response
WordPress user ID.
User display name.
GET /content/posts
Paginated list of posts with optional filters.Parameters
Post type slug. Defaults to
any.Post status filter. Defaults to
any. Accepted: publish, draft, pending, private, future, any.Filter by post title substring.
Results per page. Min 1, max 100. Defaults to 20.
Page number. Defaults to 1.
Response
Array of post objects.
Total number of matching posts.
Total pages available.
Current page number.
POST /content/posts/bulk-edit
Bulk-edit status or author for multiple posts.Parameters
Array of post IDs to edit.
Action to perform:
change_status or change_author.New value — a status string (
publish, draft, pending, private) for change_status, or a user ID string for change_author.Response
Number of posts successfully updated.
POST /content/posts/duplicate
Duplicate a single post as a draft.Parameters
ID of the post to duplicate.
Response
ID of the newly created draft.
URL to the edit screen for the new draft.
GET /content/scheduled
Returns all posts with afuture (scheduled) status, sorted by scheduled date.
Response
Returns an array of scheduled post objects:Post ID.
Post title.
Post type slug.
Formatted scheduled date string.
ISO 8601 scheduled date in local timezone.
Author display name.
URL to the WordPress edit screen.
Preview URL.
GET /content/options
Paginated list ofwp_options rows.
Parameters
Filter by
option_name substring.Results per page. Defaults to 50.
Page number. Defaults to 1.
Response
Total matching options.
Total pages.
GET /content/options/
Get the full value of a single option by name.Response
Option key.
Full option value.
POST /content/options
Update an existing option.Parameters
The option key to update.
The new option value (as a string; will be stored as-is).
Response
Always
true on success.DELETE /content/options
Delete an option by name.Parameters
The option key to delete.
Response
Always
true on success.