Skip to main content
Connector guides

Connect WordPress

WordPress runs a large share of the websites an MSP looks after. The sites are yours or your clients', they sit on every kind of host, and the questions about them are always the same: what is…

Written By Christopher Scaminaci

Last updated About 3 hours ago

WordPress runs a large share of the websites an MSP looks after. The sites are yours or your clients', they sit on every kind of host, and the questions about them are always the same: what is installed, who has an account, is the site healthy, what was changed, and can you switch something off right now.

Connecting WordPress to StackJack gives your AI assistant a family of wp_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI assistant can call through StackJack. They talk to the site's own built-in REST API, so nothing has to be installed on the site. With them, your AI can:

  • Check the site's health - run WordPress's own Site Health tests on demand: whether automatic background updates work, whether the site can reach WordPress.org, whether HTTPS is right, whether the login header is getting through and how large the site is
  • See what is installed - every plugin with its status and version, and the installed themes
  • Review access - every user with their role, and the application passwords each user has created with when and from which address each was last used, which is the offboarding question
  • Read content and its history - posts, pages, media, comments, categories, tags and search, plus the saved revisions of a post or page, which answer who changed what and when
  • Moderate and maintain content (on Pro plans) - create, update and delete posts, pages, comments, categories and tags, upload files to the media library and edit images
  • Act on the site (on Pro plans) - install a plugin from the WordPress.org directory, activate or deactivate one, delete one, change site settings, create and change users and revoke application passwords
  • Work with the site's design - menus and navigation, widgets and sidebars, and on block themes the templates, template parts, global styles, fonts and icons, the reusable blocks and patterns, and an export of the active block theme as a ZIP
  • Run what a plugin offers - WordPress's registry of plugin actions (called abilities): list them and run the ones a plugin has made available to the REST API

How StackJack authenticates to WordPress

WordPress uses an application password: a password WordPress generates for one user, used together with that user's WordPress username. There is nothing to register and no developer program to join. It works on WordPress 5.6 and later, on sites served over HTTPS.

An application password has no scopes. It can do exactly what the WordPress user it belongs to can do, nothing more and nothing less. What StackJack can do on a site is therefore decided by that user's role, and the role is the only control WordPress gives you:

  • Editor - StackJack can work with posts, pages, media and comments, and cannot touch plugins, users or settings.
  • Administrator - StackJack can also see and manage plugins, users, application passwords and settings. On a multisite network, installing plugins and changing users needs a Super Admin.

Create a dedicated WordPress user for StackJack and give it the lowest role that covers what you want. Do not reuse a person's account: WordPress records every action against the user, and a dedicated user keeps the record readable.

Steps

  1. Decide which role StackJack gets. See above. It is the only way to limit what the connection can do.
  2. Create a dedicated user. In wp-admin go to Users, then Add New. Create a user just for StackJack, for example stackjack-mcp, with the role you chose and an email address you control.
  3. Create an application password. Open that user's profile (Users, then Profile, when signed in as them, or Users, then Edit User) and scroll to Application Passwords. Type StackJack as the name and choose Add New Application Password. The section only appears on a site served over HTTPS, on WordPress 5.6 or later, with application passwords not turned off by a plugin or a setting.
  4. Copy the password immediately. WordPress shows it exactly once, in groups of four characters separated by spaces. Paste it into StackJack just as WordPress shows it: the spaces are harmless. Treat it as a password.
  5. Enter the details in StackJack. Open Connectors, choose WordPress, paste the address you sign in to wp-admin at (without /wp-admin), the WordPress username and the application password. If Settings, then Permalinks in wp-admin shows Plain, tick the plain permalinks switch.
  6. Run a Test Connection. A wrong username or password is reported as that. If the password is right and the test still fails, see the troubleshooting section below.

Changing these later

Open Configure on the WordPress connection and change what you need. The username and the plain permalinks switch are shown as they are stored. The application password is asked for again on every save, because WordPress shows it only once and StackJack never shows it back. If you no longer have it, create a new one under the user's profile and save that.

Getting the address right

This is the field worth checking twice, because a wrong address fails in a way that looks exactly like a wrong password.

  • Enter the address as the site serves it: the https form, with or without www exactly as your browser ends up after any redirect. StackJack does not follow redirects.
  • If WordPress lives in a folder, the folder is part of the address and must be entered with it, for example https://www.example.com/blog. Leave it off and every request misses.
  • Do not add /wp-json. StackJack adds whatever it needs.
  • StackJack reaches the site from the internet, so the address must be public, served over HTTPS with a valid certificate. A staging copy on a private network or VPN, an intranet site or a local install cannot be connected.

One connection is one website

WordPress has no credential that spans several sites: every site has its own users and its own application passwords. An MSP with many client sites holds one named connection per site, named after the site's address, and names the connection it wants on each request. Add each site from the Connectors page with Add connection.

What to know before your AI uses this connector

Publishing is live at once

Creating or updating a post or page with the status publish puts it on the public website immediately. Use draft to stage content. A new template or template part that is given the name of one of your theme's own takes over from it at once, in the same way. StackJack does not treat publishing as a destructive action, because it is what a content management system is for; the tool descriptions say it plainly so your AI does too.

Some deletes can be undone and some cannot

Posts, pages and comments go to the Trash unless the call says to bypass it, and can be restored from there. Categories, tags, menus, users, media, application passwords and most other items have no Trash: deleting one is permanent. Deleting a user also requires naming the user who inherits their content. Each delete tool says which kind it is.

Some writes reach further than they look

Whether your AI application asks you to confirm before running a marked tool depends on that application's own settings; see Destructive tools and confirmation. Review that setting before you grant the Pro tools.

  • Installing and activating a plugin runs third-party code on a live website. Deactivating the wrong plugin can take a client's checkout, forms or security offline.
  • Changing site settings includes the Site URL and the admin email address. A wrong Site URL breaks the site.
  • Creating or changing a user can raise privileges and sets a password. A new user can be given any role, an administrator included, with a password the request chooses. Updating a user can set a new password, email address or role, which can also lock that person out. Both are marked destructive, and each tool says how to undo it where that is possible.
  • Revoking an application password stops whatever uses it at once. StackJack refuses to revoke the password it is signing in with and refuses to revoke all passwords of the user it signs in as, because either would cut the connection off in the middle of a session. Retire the connection's own password in wp-admin once you no longer need the connection.
  • Deleting the user this connection signs in as ends the connection. The tool exists, it says so, and it needs the user who inherits the content.

WordPress cannot update plugins, themes or itself over this connection

WordPress's REST API can install, activate, deactivate and delete a plugin and report which versions are installed. It cannot upgrade a plugin or a theme to a new version, and it reports no "update available" field. StackJack can tell you what is installed and which versions; it cannot patch the site.

Uploads and the theme export

A file for the media library can be given to the tool as base64 or as a public https address StackJack downloads (up to 25 MB), or you can give the address of an external image and the website itself fetches it. An upload can also set the author, the date, the featured media, the comment settings and any extra fields the site has registered for media, and can switch off the site's automatic image resizing so that the sizes are uploaded one by one, as the block editor does. The site's own upload limit and allowed file types still apply.

The theme export gives your AI a link rather than the file. It works for thirty minutes, so open it or save it inside that window. It only works on a block theme: a classic theme answers with an error. If your StackJack deployment has no file storage configured, the tool fails with a clear message instead of returning a link that would not work.

Lists are paged, and the totals are not in the answer

A list returns at most 100 items. WordPress reports the totals in headers that the tool answer does not carry, so a page with fewer items than were asked for is the last page, and a page number past the end is refused by WordPress with an error.

Abilities depend on the site

Abilities are actions that plugins register with WordPress, and they appear only when the plugin has chosen to expose them to the REST API. Each one declares whether it only reads, changes data or is destructive, and StackJack runs it only through the matching tool: a read-only ability through the free read tool, a destructive one through the marked destructive tool. That declaration is the plugin's own claim about its code, so read an ability's description before running it.

Block themes, menus and widgets are mostly design work

Templates, template parts, global styles and fonts exist only on block themes. Menus, widgets and patterns are site-building surfaces. They are all here so an assistant can answer questions about a site's design and fix small things, but they are the work of a web designer more than an MSP.

What is not included

  • WordPress.com's own cloud API and sign-in. This connector reaches a site through that site's own address. WordPress.com sites that offer application passwords work like any other site; the WordPress.com sign-in flow is not offered.
  • Creating an application password. The response would carry a plaintext password with every capability of its user, so an assistant cannot mint one. Create them in wp-admin.
  • Routes a plugin adds (shop, SEO and page-builder plugins have their own). A plugin that registers abilities for the REST API is reachable through the ability tools.

Plans and limits

Reading is available on every plan. Anything that creates, changes or deletes needs the Pro plan. Business uses the same tools as Pro with a higher monthly call allowance: WordPress has no way to sign in as individual people over its API, so every call is made as the one WordPress user you created.

See the generated WordPress tool reference for the current inventory, plan assignment, input schemas, and destructive-action labels.

StackJack limits itself to 60 requests per minute per connection, because many client sites run on small shared hosting and an assistant paging through a large media library is real load on the site. WordPress itself publishes no limit; your host or a security plugin may have its own.

Troubleshooting

  • A wrong username or password is reported as exactly that. Check that the username is the login name (not the display name) and create a fresh application password if in doubt.
  • The password is right but the test fails with a not-signed-in answer. Some hosts strip the Authorization header before it reaches WordPress, so a correct password looks wrong. In wp-admin open Tools, then Site Health, or ask StackJack to run the authorization-header Site Health test. The fix is a one-line rule in the host's Apache or Nginx configuration, and your host's support can apply it.
  • A block page instead of a WordPress error. Many sites sit behind a host firewall, a CDN such as Cloudflare, or a security plugin. If one of them blocks requests from StackJack or blocks the REST API for signed-in requests, the site answers with a block page. StackJack reports that as a block rather than a wrong password, and does not treat it as a failed credential. Ask your host or the security plugin's support to allow the request; StackJack's addresses are available by support ticket.
  • Application passwords are turned off. A plugin or a setting can disable them for the whole site or for one user. Re-enable them, or use a user they are allowed for.
  • The site answers "not found". Check the address first: a site in a folder must be entered with the folder. If the site uses plain permalinks, tick the switch on the connection. A plugin that disables the REST API gives the same answer.
  • The site redirects. Enter the address exactly as the site finally serves it, including the www form and the https scheme.
  • An action is refused by WordPress with a message that begins rest_cannot. The StackJack user's role is too low for that action. Give the user a role that covers it, or leave the tool unused.

WordPress tools

wp_ · 200 tools · Free 119 · Pro 81

Abilities

ToolWhat it does
wp_get_ability
Free · Read-only
Retrieve an ability.
wp_get_ability_category
Free · Read-only
Retrieve an ability category.
wp_list_abilities
Free · Read-only
List abilities.
wp_list_ability_categories
Free · Read-only
List ability categories.
wp_run_ability
Pro · Write
Run an ability that changes data on the site but is not annotated destructive.
wp_run_destructive_ability
Pro · Destructive
Run an ability that its plugin annotates as destructive.
wp_run_readonly_ability
Free · Read-only
Run an ability that its plugin annotates as read-only.

Fonts

ToolWhat it does
wp_create_font_face
Pro · Write
Add a font face to a font family.
wp_create_font_family
Pro · Write
Add a font family to the font library.
wp_delete_font_face
Pro · Destructive
Delete a font face.
wp_delete_font_family
Pro · Destructive
Delete a font family.
wp_get_font_collection
Free · Read-only
Retrieve a font collection.
wp_get_font_face
Free · Read-only
Retrieve a font face.
wp_get_font_family
Free · Read-only
Retrieve a font family.
wp_list_font_collections
Free · Read-only
List font collections.
wp_list_font_faces
Free · Read-only
List the font faces of a font family.
wp_list_font_families
Free · Read-only
List font families.
wp_update_font_family
Pro · Write
Update a font family.

Global styles

ToolWhat it does
wp_get_global_styles
Free · Read-only
Retrieve a global styles record.
wp_get_global_styles_revision
Free · Read-only
Retrieve a global styles revision.
wp_get_theme_global_styles
Free · Read-only
Retrieve the global styles of a theme.
wp_list_global_styles_revisions
Free · Read-only
List the revisions of a global styles record.
wp_list_theme_global_style_variations
Free · Read-only
List the global style variations of a theme.
wp_update_global_styles
Pro · Write
Update a global styles record.

Icons

ToolWhat it does
wp_get_icon
Free · Read-only
Retrieve an icon.
wp_get_icon_collection
Free · Read-only
Retrieve an icon collection.
wp_list_icon_collections
Free · Read-only
List icon collections.
wp_list_icons
Free · Read-only
List icons.
wp_list_icons_in_collection
Free · Read-only
List the icons of a collection.

Template parts

ToolWhat it does
wp_create_template_part
Pro · Write
Create a template part.
wp_create_template_part_autosave
Pro · Write
Save an autosave of a template part.
wp_delete_template_part
Pro · Destructive
Delete a template part.
wp_delete_template_part_revision
Pro · Destructive
Delete a template part revision.
wp_get_template_part
Free · Read-only
Retrieve a template part.
wp_get_template_part_autosave
Free · Read-only
Retrieve a template part autosave.
wp_get_template_part_revision
Free · Read-only
Retrieve a template part revision.
wp_list_template_part_autosaves
Free · Read-only
List the autosaves of a template part.
wp_list_template_part_revisions
Free · Read-only
List the revisions of a template part.
wp_list_template_parts
Free · Read-only
List template parts.
wp_lookup_template_part
Free · Read-only
Look up the fallback template part for a slug.
wp_update_template_part
Pro · Write
Update a template part.

Templates

ToolWhat it does
wp_create_template
Pro · Write
Create a template.
wp_create_template_autosave
Pro · Write
Save an autosave of a template.
wp_delete_template
Pro · Destructive
Delete a template.
wp_delete_template_revision
Pro · Destructive
Delete a template revision.
wp_get_template
Free · Read-only
Retrieve a template.
wp_get_template_autosave
Free · Read-only
Retrieve a template autosave.
wp_get_template_revision
Free · Read-only
Retrieve a template revision.
wp_list_template_autosaves
Free · Read-only
List the autosaves of a template.
wp_list_template_revisions
Free · Read-only
List the revisions of a template.
wp_list_templates
Free · Read-only
List templates.
wp_lookup_template
Free · Read-only
Look up the fallback template for a slug.
wp_update_template
Pro · Write
Update a template.

Block patterns

ToolWhat it does
wp_list_block_pattern_categories
Free · Read-only
List the categories of block patterns.
wp_list_block_patterns
Free · Read-only
List block patterns.

Block types

ToolWhat it does
wp_get_block_type
Free · Read-only
Retrieve a block type.
wp_list_block_types
Free · Read-only
List block types.
wp_list_block_types_in_namespace
Free · Read-only
List the block types of a namespace.
wp_render_block
Free · Read-only
Render a block to HTML.

Directories

ToolWhat it does
wp_search_block_directory
Free · Read-only
Search the WordPress.org block directory.
wp_search_pattern_directory
Free · Read-only
Search the WordPress.org pattern directory.

Pattern categories

ToolWhat it does
wp_create_pattern_category
Pro · Write
Create a pattern category.
wp_delete_pattern_category
Pro · Destructive
Delete a pattern category.
wp_get_pattern_category
Free · Read-only
Retrieve a pattern category.
wp_list_pattern_categories
Free · Read-only
List pattern categories.
wp_update_pattern_category
Pro · Write
Update a pattern category.

Reusable blocks

ToolWhat it does
wp_create_reusable_block
Pro · Write
Create a reusable block.
wp_create_reusable_block_autosave
Pro · Write
Save an autosave of a reusable block.
wp_delete_reusable_block
Pro · Destructive
Delete a reusable block.
wp_delete_reusable_block_revision
Pro · Destructive
Delete a reusable block revision.
wp_get_reusable_block
Free · Read-only
Retrieve a reusable block.
wp_get_reusable_block_autosave
Free · Read-only
Retrieve a reusable block autosave.
wp_get_reusable_block_revision
Free · Read-only
Retrieve a reusable block revision.
wp_list_reusable_block_autosaves
Free · Read-only
List the autosaves of a reusable block.
wp_list_reusable_block_revisions
Free · Read-only
List the revisions of a reusable block.
wp_list_reusable_blocks
Free · Read-only
List reusable blocks.
wp_update_reusable_block
Pro · Write
Update a reusable block.

Categories

ToolWhat it does
wp_create_category
Pro · Write
Create a Category.
wp_delete_category
Pro · Destructive
Delete a Category.
wp_get_category
Free · Read-only
Retrieve a Category.
wp_list_categories
Free · Read-only
List Categories.
wp_update_category
Pro · Write
Update a Category.

Comments

ToolWhat it does
wp_create_comment
Pro · Write
Create a Comment.
wp_delete_comment
Pro · Destructive
Delete a Comment.
wp_get_comment
Free · Read-only
Retrieve a Comment.
wp_list_comments
Free · Read-only
List Comments.
wp_update_comment
Pro · Write
Update a Comment.

Content types

ToolWhat it does
wp_get_post_status
Free · Read-only
Retrieve a post status.
wp_get_post_type
Free · Read-only
Retrieve a content type.
wp_list_post_statuses
Free · Read-only
List post statuses.
wp_list_post_types
Free · Read-only
List content types.

Page autosaves

ToolWhat it does
wp_create_page_autosave
Pro · Write
Save an autosave of a page.
wp_get_page_autosave
Free · Read-only
Retrieve a page autosave.
wp_list_page_autosaves
Free · Read-only
List the autosaves of a page.

Page revisions

ToolWhat it does
wp_delete_page_revision
Pro · Destructive
Delete a Page Revision.
wp_get_page_revision
Free · Read-only
Retrieve a Page Revision.
wp_list_page_revisions
Free · Read-only
List Page Revisions.

Pages

ToolWhat it does
wp_create_page
Pro · Write
Create a Page.
wp_delete_page
Pro · Destructive
Delete a Page.
wp_get_page
Free · Read-only
Retrieve a Page.
wp_list_pages
Free · Read-only
List Pages.
wp_update_page
Pro · Write
Update a Page.

Post autosaves

ToolWhat it does
wp_create_post_autosave
Pro · Write
Save an autosave of a post.
wp_get_post_autosave
Free · Read-only
Retrieve a post autosave.
wp_list_post_autosaves
Free · Read-only
List the autosaves of a post.

Post revisions

ToolWhat it does
wp_delete_post_revision
Pro · Destructive
Delete a Post Revision.
wp_get_post_revision
Free · Read-only
Retrieve a Post Revision.
wp_list_post_revisions
Free · Read-only
List Post Revisions.

Posts

ToolWhat it does
wp_create_post
Pro · Write
Create a Post.
wp_delete_post
Pro · Destructive
Delete a Post.
wp_get_post
Free · Read-only
Retrieve a Post.
wp_list_posts
Free · Read-only
List Posts.
wp_update_post
Pro · Write
Update a Post.
ToolWhat it does
wp_search
Free · Read-only
Search the site's posts, terms and post formats.

Tags

ToolWhat it does
wp_create_tag
Pro · Write
Create a Tag.
wp_delete_tag
Pro · Destructive
Delete a Tag.
wp_get_tag
Free · Read-only
Retrieve a Tag.
wp_list_tags
Free · Read-only
List Tags.
wp_update_tag
Pro · Write
Update a Tag.

Taxonomies

ToolWhat it does
wp_get_taxonomy
Free · Read-only
Retrieve a Taxonomy.
wp_list_taxonomies
Free · Read-only
List taxonomies.

Editor tools

ToolWhat it does
wp_export_block_theme
Free · Read-only
Export the active block theme as a ZIP and get a download link back.
wp_get_oembed
Free · Read-only
Retrieve the oEmbed data of one of the site's own pages.
wp_get_oembed_proxy
Free · Read-only
Preview an embed through the site.
wp_get_or_create_navigation_fallback
Pro · Write
Retrieve or create the navigation fallback.
wp_get_url_details
Free · Read-only
Fetch details of a URL through the site.

Media

ToolWhat it does
wp_create_media
Pro · Write
Upload a file to the site's media library.
wp_delete_media
Pro · Destructive
Delete a Media Item.
wp_edit_media_image
Pro · Write
Edit an image in the media library.
wp_finalize_media
Pro · Write
Finalize the generated sizes of an image.
wp_get_media
Free · Read-only
Retrieve a Media Item.
wp_list_media
Free · Read-only
List Media.
wp_post_process_media
Pro · Write
Create the sub-sizes of an uploaded image.
wp_sideload_media
Pro · Write
Upload one generated sub-size of an image that is already in the media library.
wp_update_media
Pro · Write
Update a Media Item.
ToolWhat it does
wp_create_menu_item
Pro · Write
Create a menu item.
wp_create_menu_item_autosave
Pro · Write
Save an autosave of a menu item.
wp_delete_menu_item
Pro · Destructive
Delete a menu item.
wp_get_menu_item
Free · Read-only
Retrieve a menu item.
wp_get_menu_item_autosave
Free · Read-only
Retrieve a menu item autosave.
wp_list_menu_item_autosaves
Free · Read-only
List the autosaves of a menu item.
wp_list_menu_items
Free · Read-only
List menu items.
wp_update_menu_item
Pro · Write
Update a menu item.
ToolWhat it does
wp_get_menu_location
Free · Read-only
Retrieve a menu location.
wp_list_menu_locations
Free · Read-only
List menu locations.
ToolWhat it does
wp_create_menu
Pro · Write
Create a menu.
wp_delete_menu
Pro · Destructive
Delete a menu.
wp_get_menu
Free · Read-only
Retrieve a menu.
wp_list_menus
Free · Read-only
List menus.
wp_update_menu
Pro · Write
Update a menu.
ToolWhat it does
wp_create_navigation
Pro · Write
Create a block navigation.
wp_create_navigation_autosave
Pro · Write
Save an autosave of a block navigation.
wp_delete_navigation
Pro · Destructive
Delete a block navigation.
wp_delete_navigation_revision
Pro · Destructive
Delete a block navigation revision.
wp_get_navigation
Free · Read-only
Retrieve a block navigation.
wp_get_navigation_autosave
Free · Read-only
Retrieve a block navigation autosave.
wp_get_navigation_revision
Free · Read-only
Retrieve a block navigation revision.
wp_list_navigation_autosaves
Free · Read-only
List the autosaves of a block navigation.
wp_list_navigation_revisions
Free · Read-only
List the revisions of a block navigation.
wp_list_navigations
Free · Read-only
List block navigations.
wp_update_navigation
Pro · Write
Update a block navigation.

Plugins

ToolWhat it does
wp_delete_plugin
Pro · Destructive
Delete a Plugin.
wp_get_plugin
Free · Read-only
Retrieve a Plugin.
wp_install_plugin
Pro · Destructive
Install a plugin from WordPress.org.
wp_list_plugins
Free · Read-only
List plugins.
wp_set_plugin_status
Pro · Destructive
Activate or deactivate a plugin.

Settings

ToolWhat it does
wp_get_settings
Free · Read-only
Retrieve the site settings.
wp_update_settings
Pro · Destructive
Update the site settings.

Site

ToolWhat it does
wp_get_site_info
Free · Read-only
Retrieve the site's discovery document.
wp_get_view_config
Free · Read-only
Retrieve a data view configuration.

Site health

ToolWhat it does
wp_get_directory_sizes
Free · Read-only
Retrieve the Site Health directory sizes.
wp_run_site_health_test
Free · Read-only
Run one WordPress Site Health test.

Themes

ToolWhat it does
wp_get_theme
Free · Read-only
Retrieve a Theme.
wp_list_themes
Free · Read-only
List themes.

Application passwords

ToolWhat it does
wp_get_application_password
Free · Read-only
Retrieve an application password.
wp_introspect_application_password
Free · Read-only
Retrieve the application password this connection signs in with.
wp_list_application_passwords
Free · Read-only
List a user's application passwords.
wp_revoke_all_application_passwords
Pro · Destructive
Revoke EVERY application password of one user.
wp_revoke_application_password
Pro · Destructive
Revoke one application password of a user.
wp_update_application_password
Pro · Write
Update an application password.

Users

ToolWhat it does
wp_create_user
Pro · Destructive
Create a User.
wp_delete_current_user
Pro · Destructive
Delete the user this connection signs in as.
wp_delete_user
Pro · Destructive
Delete a User.
wp_get_current_user
Free · Read-only
Retrieve the user this connection signs in as.
wp_get_user
Free · Read-only
Retrieve a User.
wp_list_users
Free · Read-only
List Users.
wp_update_current_user
Pro · Destructive
Update the user this connection signs in as.
wp_update_user
Pro · Destructive
Update a User.
ToolWhat it does
wp_get_sidebar
Free · Read-only
Retrieve a sidebar.
wp_list_sidebars
Free · Read-only
List sidebars.
wp_update_sidebar
Pro · Write
Set the widgets of a sidebar.

Widget types

ToolWhat it does
wp_encode_widget
Free · Read-only
Encode widget form data into instance settings.
wp_get_widget_type
Free · Read-only
Retrieve a widget type.
wp_list_widget_types
Free · Read-only
List widget types.
wp_render_widget
Free · Read-only
Render a widget preview.

Widgets

ToolWhat it does
wp_create_widget
Pro · Write
Create a widget.
wp_delete_widget
Pro · Destructive
Delete a widget.
wp_get_widget
Free · Read-only
Retrieve a widget.
wp_list_widgets
Free · Read-only
List widgets.
wp_update_widget
Pro · Write
Update a widget.