Today WPWordPress knowledge for your AI

News & Docs · Docs

The WordPress docs that matter.

The official docs, current version. Your AI finds the right page with wp_docs.

Core handbooks

Plugin Handbook
Building plugins: hooks, settings, security, internationalization.
Theme Handbook
Block themes, theme.json, templates and patterns.
Common APIs
Options, HTTP, transients, cron, and the other core APIs.
Code Reference
Every function, hook, class and method, with the version it arrived in.
Security
Sanitizing, escaping, nonces and capability checks.
Coding Standards
PHP, JavaScript, CSS, HTML and accessibility standards.

Blocks and the editor

Block Editor Handbook
Creating blocks, extending the editor, data and components.
block.json metadata
The recommended way to register a block.
Interactivity API
Front-end interactivity for blocks without a framework.

Common developer topics

Theme Handbook: getting started
Building a block theme: files, templates, theme.json and the tools.
Block styles
Registering style variations for a block (register_block_style).
My site was hacked (WordPress FAQ)
The official first steps after a hack: contact the host, change passwords, restore, update.
Hardening WordPress
File permissions, keys, admin users and other hardening steps.
Brute force attacks
Protecting the login against brute force attacks.
Nonces
Create and verify nonces to protect URLs and forms.
REST API authentication
Cookie, nonce and application password authentication for the REST API.
Posts (REST API reference)
The /wp/v2/posts endpoint: list, create, update and delete posts, with every argument.
REST API reference
Every core endpoint under /wp/v2/: posts, pages, media, users, terms and the rest.
Adding custom REST endpoints
register_rest_route, permission callbacks and responses.
WordPress 7.2 release page
The 7.2 development cycle: schedule, release team and dates (wp_now gives the planned date with its source).
ServerSideRender
The component that previews a server-rendered block in the editor.
Creating dynamic blocks
Blocks rendered in PHP at view time (render in block.json, or render_callback).
Registration of a block
Registering a block with block.json, in PHP and JavaScript.
block.json metadata
Every block.json field, and why it is the recommended way to register a block.
register_block_type()
The PHP function that registers a block from its block.json.
PHP compatibility and WordPress versions
Which PHP versions each WordPress version supports (core only: plugins and themes state only a minimum).
WordPress backups
What to back up (database and files), how often, and where to keep copies.
Backing up and restoring the database
Database backups, and restoring one with phpMyAdmin or the MySQL command line.
Backing up your WordPress files
Which files to copy (wp-content, wp-config.php) and how.
CSS in WordPress
Where to add your own CSS (Additional CSS, the Site Editor, a child theme) and the classes WordPress adds.
Styles overview (Site Editor)
Change colors, typography and layout site-wide in Appearance > Editor > Styles, and add custom CSS, without code.
Site Editor
Editing templates, template parts, navigation and styles in a block theme.
Email troubleshooting (WooCommerce)
Why order emails are not sent or land in spam, and how to check and fix it.
wp_mail()
How WordPress sends email (through the server unless an SMTP plugin takes over), its filters and failures.
Moving WordPress
Moving a site to a new host or domain, and changing its URLs safely.
wp search-replace
Replace the old URL in the database safely, serialized data included (try --dry-run first).
HTTPS for WordPress
Moving a site to HTTPS, and fixing mixed content and redirect loops.
Common WordPress errors
The critical error message, Recovery Mode, the white screen, database connection and 500 errors, and what to do for each.
Debugging in WordPress
WP_DEBUG and the debug log, to find which plugin or theme causes an error.
Discussion settings
Comment approval, links held for moderation, disallowed words and closing comments on old posts.
Comment moderation
Approving, marking as spam and moderating comments.
Spam filtering (Contact Form 7)
Contact Form 7's spam protection: the disallowed list, Akismet, reCAPTCHA and Turnstile.
Permalinks settings
Settings > Permalinks: the URL structure, and saving it again to rebuild the rewrite rules (fixes most 404s after a move).
Apache and .htaccess
The WordPress .htaccess rules and mod_rewrite on Apache.
Nginx
WordPress rewrite rules for Nginx (it ignores .htaccess).
General settings
Site title, tagline, addresses, timezone, language, and whether anyone can register.
Site icon (favicon)
Set the site icon in Settings, General (WordPress 6.5+), or in the Site Editor or Customizer.
Schedule a post
Pick a future date and time under Publish in the post settings sidebar; the post shows as Scheduled until then.
Limit post revisions
WP_POST_REVISIONS in wp-config.php: a number to keep, or false to stop saving revisions.
Increase the PHP memory limit
WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT in wp-config.php; the host's PHP limit still caps them.
Synced patterns (reusable blocks)
Create, edit and detach synced patterns, formerly reusable blocks.
Template hierarchy
Which template file WordPress picks for each page, including custom post type archives and singles.
Reading settings
Choose a static front page or latest posts, posts per page, and search engine visibility.
Navigation block (menus)
Adding and editing menus in a block theme with the Navigation block.
Appearance Menus screen
Menus in classic themes: Appearance > Menus.
Manage widgets
Adding and arranging widgets in sidebars and other widget areas.
Reset your password
Resetting a password from the login screen, the profile, or the database when locked out.
Plugin and theme auto-updates
Turning automatic updates on or off for each plugin and theme.
Tools Import screen
Importing posts, pages and media from another WordPress site or another platform.
WordPress in your language
Running WordPress and its admin in another language.
Child themes
Creating a child theme to change a theme without losing the changes on update.
Administration menus
Adding a top-level or sub menu page to the admin for your plugin.
Tutorial: build your first block
Building a custom block step by step with block.json and @wordpress/create-block.
the_content
The filter that changes post content before it is displayed.
Cron
WP-Cron: scheduling events and intervals.
Abilities API
Registering what a site can do, for agents and MCP.
Abilities API PHP reference
wp_register_ability, wp_register_ability_category and their hooks, with every argument.
Disable the plugin and theme file editor
DISALLOW_FILE_EDIT in wp-config.php removes the code editors from the admin.
Typography in theme.json
Font families, sizes and font faces in theme.json.
Template parts
Reusable parts of a block theme such as the header and the footer.
File permissions
Safe file and folder permissions for WordPress on the server.
Database table prefix
The $table_prefix setting in wp-config.php.
is_user_logged_in()
Checking whether the current visitor is logged in.
login_redirect
The filter that sets where users land after logging in.
add_role()
Creating a custom role with its capabilities (run once, on plugin activation).
Roles and Capabilities (for site owners)
What Administrators, Editors, Authors, Contributors and Subscribers can each do.
Roles and capabilities
Roles, capabilities and checking them.
Transients
Temporary cached data with an expiration.
Caching
Page, object and browser caching for WordPress.
Settings API
Settings pages, sections and fields.
Options API
Storing and reading settings in the options table.
Registering custom post types
register_post_type and its arguments.
Shortcodes
Creating and registering shortcodes.
Sanitizing data
Cleaning user input before saving it.
Escaping data
Escaping output to prevent XSS.
HTTP API
wp_remote_get, wp_remote_post and responses.
Internationalization
Making plugins translatable.
Block Bindings API
Connecting block attributes to custom fields and other sources.
Metadata
Post, user and term meta.
AJAX
AJAX requests in plugins (admin-ajax and nonces).
theme.json: global settings and styles
Settings and styles for block themes in theme.json.
Block patterns
Registering and using block patterns.
wp core update-db
Runs the database upgrade after a core update; --network does every site of a multisite.
Network Admin
Updates, plugins and themes for a whole network: what the Network Admin screens do.
Upgrading WordPress
The official steps for a core upgrade, backup first.
Multisite
Creating and running a WordPress network.
WP-CLI commands
Every WP-CLI command and its options.
User metadata
Storing data per user.
Custom taxonomies
register_taxonomy and working with terms.
Admin menus
Adding top-level and sub-menus in the admin.
Including CSS and JavaScript
wp_enqueue_script and wp_enqueue_style.
Uninstall methods
Cleaning up when a plugin is deleted.
Heartbeat API
The admin heartbeat: polling the server from the browser.
Hooks: actions and filters
How add_action and add_filter work.
REST API Handbook
The REST API: routes, endpoints, authentication and extending it.

WordPress.com

Form block (WordPress.com)
Contact forms on WordPress.com, with the built-in Form block.
SEO tools (WordPress.com)
Built-in SEO tools on WordPress.com.
WordPress.com Support
Help for sites hosted on WordPress.com, where the host runs core and PHP.

Page builders

Their current versions and official MCP servers are on Page builders.

Elementor
Custom widgets, controls, dynamic tags and hooks. Official MCP.
Divi
Divi 5 modules, extensions and the builder APIs.
Beaver Builder
Custom modules, hooks and filters. Official MCP.
Bricks
Elements, query loops, custom elements and hooks.
Breakdance
User guide and developer docs, including custom elements. Official MCP.
Oxygen
Oxygen 6 docs, by the team behind Breakdance. Official MCP.
WPBakery
Knowledge base, including the inner API for custom elements.

AI and MCP

Abilities API
Register what a site can do, so agents and other code can call it.
AI Client in WordPress 7.0
wp_ai_client_prompt() and provider plugins.
MCP Adapter
The official plugin that exposes abilities to MCP clients.

Tools and operations

REST API Handbook
Routes, authentication and extending the REST API.
WP-CLI commands
Every WP-CLI command and its options.
Advanced Administration
Hosting, performance, security hardening and debugging.
WordPress Playground
A full WordPress in the browser, for testing and demos.

Works next to your site's own MCP: your site acts, Today WP knows. For agents: docs.md.

Give your agent today's WordPress.Free · Read-only · Nothing to install

https://todaywp.com/mcp
Show me where