WordPress Core
WordPress Core HTTP Streaming Analysis
Full Call Chain wp_remote_get($url, $args) # wp-includes/http.php └─► _wp_http_get_object()->get($url, $args) # WP_Http singleton └─► WP_Http::request($url, $args) # wp-includes/class-wp-http.php │ ├─...
WordPress XML-RPC API Overview
WordPress provides XML-RPC functionality for remote publishing and content management. This API allows external applications to interact with WordPress for...
wp_xmlrpc_server Class Reference
File: wp-includes/class-wp-xmlrpc-server.php Since: 1.5.0 WordPress XMLRPC server implementation providing compatibility for Blogger API, MetaWeblog API, MovableType, pingback, and WordPress-native methods....
WordPress XML-RPC Hooks Reference
All hooks available in the WordPress XML-RPC server implementation. Filters xmlrpc_enabled Controls whether XML-RPC methods requiring authentication are enabled. add_filter(...
Security Settings
WordPress security constants protect your site through authentication tokens, file access controls, and SSL/HTTPS enforcement. Security Keys and Salts Security...
Update Settings
WordPress provides granular control over automatic updates for core, plugins, themes, and translations. Core Update Constants WP_AUTO_UPDATE_CORE define( 'WP_AUTO_UPDATE_CORE', true...
wp-config.php Overview
The wp-config.php file is WordPress's primary configuration file. It contains the essential settings WordPress needs to connect to the database...
Debug Settings
WordPress provides extensive debugging options for development and troubleshooting. These should be disabled in production. Primary Debug Constants WP_DEBUG define(...
Multisite Settings
WordPress Multisite (formerly WPMU) allows running multiple sites from a single WordPress installation. These constants configure and control the network....
Path Settings
WordPress allows customization of directory locations and URLs through constants. These are useful for non-standard installations, security, or organizational preferences....
Tools
tools.php URL: /wp-admin/tools.php Capability required: Varies by tool; base page is available to admins. Import section requires import; category/tag conversion...
Users
users.php URL: /wp-admin/users.php Capability required: list_users (and related caps like edit_users, delete_users, promote_users, remove_users). What it does: Lists users, handles...
Admin Pages
WordPress admin (wp-admin/) page files. Source: wp-admin/*.php Page Categories Category Description core.md Dashboard, profile, about posts.md Post management screens pages.md...
Plugins
plugins.php URL: /wp-admin/plugins.php Capability required: activate_plugins (and related caps like deactivate_plugins, delete_plugins, update_plugins). What it does: Lists installed plugins, handles...
Posts (Post Type: post)
edit.php (Posts list) URL: /wp-admin/edit.php Capability required: $post_type_object->cap->edit_posts (typically edit_posts). What it does: Lists posts for the post post type,...
Settings
options.php (Settings handler) URL: /wp-admin/options.php Capability required: Varies by option page; uses option_page_capability_{$option_page} filter and checks manage_network_options on multisite. What...
Widgets API
Framework for creating dynamic sidebars and registering widgets in WordPress. Since: 2.2.0 Source: wp-includes/widgets.php, wp-includes/class-wp-widget.php, wp-includes/class-wp-widget-factory.php, wp-includes/widgets/ Components Component Description...
WP_Widget
Base class for creating widgets. Must be extended. Source: wp-includes/class-wp-widget.php Since: 2.8.0 Class Synopsis #[AllowDynamicProperties] class WP_Widget { // Properties...
Widget Functions
Core functions for registering and managing widgets and sidebars. Source: wp-includes/widgets.php Widget Registration register_widget() Registers a widget class with WordPress....
Widget Hooks
Actions and filters for the Widgets API. Source: wp-includes/widgets.php, wp-includes/class-wp-widget.php Actions widgets_init Fires after all default WordPress widgets have been...
WP_Widget_Factory
Singleton that registers and manages WP_Widget classes. Source: wp-includes/class-wp-widget-factory.php Since: 2.8.0 Global: $wp_widget_factory Class Synopsis #[AllowDynamicProperties] class WP_Widget_Factory { //...
Walker (Base Class)
Abstract class for displaying hierarchical tree structures. Since: 2.1.0 Source: wp-includes/class-wp-walker.php Class Synopsis #[AllowDynamicProperties] class Walker { // Properties public...
Walker Hooks
Filters available in WordPress Walker classes. Category Walkers list_cats Filters the category name for display. apply_filters( 'list_cats', string $cat_name, WP_Term...
Walker Classes
Abstract pattern for traversing and rendering hierarchical tree structures. Since: 2.1.0 Source: wp-includes/class-wp-walker.php, wp-includes/class-walker-*.php Components Component Description class-wp-walker.md Base abstract...
Walker_Category
Creates an HTML list of categories. Since: 2.1.0 Source: wp-includes/class-walker-category.php Used by: wp_list_categories() Class Synopsis class Walker_Category extends Walker {...
Walker_Comment
Creates an HTML list of threaded comments. Since: 2.7.0 Source: wp-includes/class-walker-comment.php Used by: wp_list_comments() Class Synopsis class Walker_Comment extends Walker...
Walker_PageDropdown
Creates an HTML dropdown (<option> elements) for hierarchical pages. Since: 2.1.0 Source: wp-includes/class-walker-page-dropdown.php Used by: wp_dropdown_pages() Class Synopsis class Walker_PageDropdown...
Utility Classes
Core utility classes for common operations in WordPress. Source: wp-includes/ Components Component Description class-wp-list-util.md Array/object list operations (filter, pluck, sort)...
WP_Session_Tokens
Abstract class for managing user session tokens. Source: wp-includes/class-wp-session-tokens.php Since: 4.0.0 Overview WordPress uses session tokens to track authenticated user...
Utility Hooks
Actions and filters for WordPress utility classes. Session Token Hooks session_token_manager Filters the session token manager class. apply_filters( 'session_token_manager', string...
Speculative Loading
Prefetch and prerender API using the Speculation Rules API. Source: wp-includes/speculative-loading.php Since: 6.8.0 Overview Speculative loading allows browsers to prefetch...
WP_Duotone
Manages duotone block supports and global styles. Source: wp-includes/class-wp-duotone.php Since: 6.3.0 Access: Private/Internal Overview Duotone applies a two-color gradient effect...
WP_List_Util
Utility class for performing operations on arrays of objects or arrays. Source: wp-includes/class-wp-list-util.php Since: 4.7.0 Properties Property Type Visibility Description...
WordPress Users API
Core system for managing users, authentication, roles, and capabilities. Since: 2.0.0 Source: wp-includes/user.php, wp-includes/capabilities.php, wp-includes/class-wp-*.php Components Component Description functions.md User...
User Hooks
Actions and filters for user management, authentication, roles, and capabilities. Source: wp-includes/user.php, wp-includes/capabilities.php, wp-includes/class-wp-*.php Authentication Actions wp_authenticate Fires before user...
WP_User Class
Core class representing a WordPress user with their data and capabilities. Since: 2.0.0 Source: wp-includes/class-wp-user.php Overview WP_User represents an individual...
User Functions
Core functions for user management, authentication, metadata, and utilities. Source: wp-includes/user.php, wp-includes/capabilities.php, wp-includes/pluggable.php User Retrieval get_user() Retrieves user by ID....
WP_Role Class
Core class representing a single user role with its capabilities. Since: 2.0.0 Source: wp-includes/class-wp-role.php Overview WP_Role represents an individual role...
WP_Roles Class
Core class for managing all user roles and their capabilities. Since: 2.0.0 Source: wp-includes/class-wp-roles.php Overview WP_Roles is a singleton-like registry...
WordPress Update System
Source: wp-includes/update.php Since: WordPress 2.3.0 Purpose The Update system checks for available updates to WordPress core, plugins, and themes by...
Update Functions
Source: wp-includes/update.php Core Update Functions wp_version_check() Checks WordPress version against the newest version available on WordPress.org. wp_version_check( array $extra_stats =...
Update Hooks
Source: wp-includes/update.php Filters core_version_check_locale Filters the locale requested for WordPress core translations. apply_filters( 'core_version_check_locale', string $locale ) Parameters: $locale (string)...
WordPress Themes API Overview
The Themes API provides comprehensive functionality for theme management, template loading, global styles, and the transition from classic to block-based...
WP_Theme Class Reference
The WP_Theme class encapsulates theme data and provides methods for accessing theme information, files, and configuration. Class Overview final class...
WordPress Theme Functions Reference
Complete reference for WordPress theme-related functions. Theme Information Functions wp_get_theme() Gets a WP_Theme object for a theme. wp_get_theme( string $stylesheet...
WordPress Theme Hooks Reference
Complete reference for theme-related action hooks and filters. Template Loading Actions template_redirect Fires before determining which template to load. do_action(...
WP_Theme_JSON & WP_Theme_JSON_Resolver Reference
These classes handle the processing of theme.json configuration files, providing a structured way to manage global styles and settings. WP_Theme_JSON...
Template Parts
Complete reference for templateParts in theme.json. Overview The templateParts array registers reusable template sections like headers, footers, and sidebars. {...
theme.json
Global settings and styles configuration for WordPress block themes. Since: 5.8.0 Current Schema Version: 3 Source: wp-includes/class-wp-theme-json.php Purpose theme.json provides...
Spacing Settings
Complete reference for settings.spacing in theme.json. Overview { "settings": { "spacing": { "blockGap": null, "customSpacingSize": true, "defaultSpacingSizes": true, "margin": false,...
Typography Settings
Complete reference for settings.typography in theme.json. Overview { "settings": { "typography": { "customFontSize": true, "defaultFontSizes": true, "dropCap": true, "fluid": false,...
Styles Configuration
Complete reference for styles in theme.json. Overview The styles section defines CSS styling rules that WordPress applies globally and per-block....
Color Settings
Complete reference for settings.color in theme.json. Overview { "settings": { "color": { "background": true, "custom": true, "customDuotone": true, "customGradient": true,...
footer.php
Fallback footer template for themes that do not provide their own. Source: wp-includes/theme-compat/footer.php Deprecated: 3.0.0 Subpackage: Theme_Compat Purpose Loaded by...
header-embed.php
Embed header template — HTML document opening for oEmbed iframes. Source: wp-includes/theme-compat/header-embed.php Since: 4.5.0 Subpackage: Theme_Compat Purpose Loaded by get_header(...
header.php
Fallback header template for themes that do not provide their own. Source: wp-includes/theme-compat/header.php Deprecated: 3.0.0 Subpackage: Theme_Compat Purpose Loaded by...
sidebar.php
Fallback sidebar template for themes that do not provide their own. Source: wp-includes/theme-compat/sidebar.php Deprecated: 3.0.0 Subpackage: Theme_Compat Purpose Loaded by...
footer-embed.php
Embed footer template — closes the HTML document for oEmbed iframes. Source: wp-includes/theme-compat/footer-embed.php Since: 4.5.0 Subpackage: Theme_Compat Purpose Loaded by...
Theme Compat — Fallback Templates
Overview of the WordPress core theme-compat subsystem. Source: wp-includes/theme-compat/ Purpose The theme-compat directory provides fallback template files used when the...
Template Tag Hooks
Template tags provide extensive hooks for customization. This documents the key actions and filters available. Template Loading Hooks Action: get_header...
Template Tags System
Template tags are WordPress functions designed for use in theme template files. They output dynamic content, generate HTML markup, and...
Template Tag Functions
Template Part Functions get_header() Loads the header template file. function get_header( $name = null, $args = array() ) Parameters: $name...
Taxonomy API
Framework for classifying and organizing WordPress content through hierarchical and non-hierarchical term groupings. Since: 2.3.0 Source: wp-includes/taxonomy.php, wp-includes/class-wp-taxonomy.php, wp-includes/class-wp-term.php, wp-includes/class-wp-term-query.php...
Taxonomy API Functions
Core functions for taxonomy and term registration, retrieval, and management. Source: wp-includes/taxonomy.php Taxonomy Registration register_taxonomy() Creates or modifies a taxonomy...
Taxonomy API Hooks
Actions and filters for the Taxonomy API. Taxonomy Registration registered_taxonomy Fires after a taxonomy is registered. do_action( 'registered_taxonomy', string $taxonomy,...
WP_Taxonomy
Core class used for interacting with taxonomies. Represents a registered taxonomy and its configuration. Source: wp-includes/class-wp-taxonomy.php Since: 4.7.0 Class Declaration...
WP_Term_Query
Class used for querying terms from the database. Source: wp-includes/class-wp-term-query.php Since: 4.6.0 Class Declaration #[AllowDynamicProperties] class WP_Term_Query Properties Property Type...
WP_Term
Core class used to implement the WP_Term object. Represents a single taxonomy term. Source: wp-includes/class-wp-term.php Since: 4.4.0 Class Declaration #[AllowDynamicProperties]...
Style Engine
Consistent API for rendering CSS styles for blocks across client-side and server-side applications. Since: 6.1.0 Source: wp-includes/style-engine.php, wp-includes/style-engine/ Components Component...
WP_Style_Engine_Processor
Compiles styles from stores or collections of CSS rules into a stylesheet. Source: wp-includes/style-engine/class-wp-style-engine-processor.php Since: 6.1.0 Properties Property Type Visibility...
WP_Style_Engine
Core class for parsing block styles and compiling CSS. This is a low-level internal API. Source: wp-includes/style-engine/class-wp-style-engine.php Since: 6.1.0 Access:...
Style Engine Functions
Public API functions for generating and compiling CSS styles. Source: wp-includes/style-engine.php wp_style_engine_get_styles() Generates styles from a block style object (e.g.,...
WP_Style_Engine_CSS_Declarations
Holds, sanitizes, processes, and prints CSS declarations for the style engine. Source: wp-includes/style-engine/class-wp-style-engine-css-declarations.php Since: 6.1.0 Properties Property Type Visibility Description...
WP_Style_Engine_CSS_Rule
Represents a CSS rule with selector, declarations, and optional rules group (for nested CSS). Source: wp-includes/style-engine/class-wp-style-engine-css-rule.php Since: 6.1.0 Properties Property...
Sitemaps API
Framework for generating XML sitemaps in WordPress. Since: 5.5.0 Source: wp-includes/sitemaps.php, wp-includes/sitemaps/ Components Component Description functions.md Core retrieval and registration...
WP_Sitemaps
Main sitemap controller integrating all sitemap components. Source: wp-includes/sitemaps/class-wp-sitemaps.php Since: 5.5.0 Overview The main class that orchestrates sitemap functionality including...
Sitemaps API Functions
Core functions for sitemap management and registration. Source: wp-includes/sitemaps.php wp_sitemaps_get_server() Retrieves the current Sitemaps server instance. wp_sitemaps_get_server(): WP_Sitemaps Returns WP_Sitemaps...
Sitemaps API Hooks
Actions and filters for the Sitemaps API. Actions wp_sitemaps_init Fires when initializing the Sitemaps object. Register additional providers here. do_action(...
WP_Sitemaps_Provider
Abstract base class for sitemap providers. Source: wp-includes/sitemaps/class-wp-sitemaps-provider.php Since: 5.5.0 Overview Base class that all sitemap providers must extend. Provides...
WP_Sitemaps_Registry
Registry for managing sitemap providers. Source: wp-includes/sitemaps/class-wp-sitemaps-registry.php Since: 5.5.0 Overview Manages registration and retrieval of sitemap providers. Accessed via WP_Sitemaps::$registry....
Transients API
Temporary data storage with automatic expiration. Uses database or object cache. Since: 2.8.0 Source: wp-includes/option.php Core Functions get_transient() Retrieves a...
Site Health & Transients API
WordPress Site Health provides diagnostic tests and debugging info. Transients offer temporary cached data storage with automatic expiration. Since: Site...
WP_Site_Health_Auto_Updates
Tests automatic update capabilities and configuration. Since: 5.2.0 Source: wp-admin/includes/class-wp-site-health-auto-updates.php Constructor Requires wp-admin/includes/class-wp-upgrader.php. Methods run_tests() Executes all auto-update tests and...
WP_Site_Health
Main class for Site Health diagnostic tests and status display. Since: 5.2.0 Source: wp-admin/includes/class-wp-site-health.php Properties private static $instance = null;...
Site Health & Transients Hooks
Actions and filters for Site Health and Transients APIs. Transient Hooks Actions delete_transient_{$transient} Fires before a specific transient is deleted....
WP_REST_Site_Health_Controller
REST API endpoints for asynchronous Site Health tests. Since: 5.6.0 Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php Properties private $site_health; // WP_Site_Health instance Namespace: wp-site-health/v1...
Scripts & Styles API
System for registering, enqueueing, and outputting JavaScript and CSS assets in WordPress. Since: 2.1.0 (scripts), 2.6.0 (styles) Source: wp-includes/script-loader.php, wp-includes/functions.wp-scripts.php,...
WP_Styles
Core class for registering and outputting CSS stylesheets. Source: wp-includes/class-wp-styles.php Since: 2.6.0 Extends: WP_Dependencies Properties Public Properties Property Type Since...
Scripts & Styles Functions
Core functions for managing JavaScript and CSS assets. Source: wp-includes/functions.wp-scripts.php, wp-includes/functions.wp-styles.php, wp-includes/script-loader.php Script Functions wp_scripts() Initializes and returns the global...
Scripts & Styles Hooks
Actions and filters for the WordPress scripts and styles system. Actions wp_enqueue_scripts Primary hook for enqueueing front-end scripts and styles....
WP_Dependencies
Base class for managing dependencies. Extended by WP_Scripts and WP_Styles. Source: wp-includes/class-wp-dependencies.php Since: 2.6.0 Properties Public Properties Property Type Since...
WP_Scripts
Core class for registering and outputting JavaScript files. Source: wp-includes/class-wp-scripts.php Since: 2.1.0 Extends: WP_Dependencies Properties Public Properties Property Type Since...
WordPress Shortcodes API Functions
Complete reference for all functions in the WordPress Shortcodes API. Registration Functions add_shortcode() Registers a new shortcode handler. add_shortcode( string...
WordPress Shortcodes API Hooks
Filters and actions available in the WordPress Shortcodes API. Filters pre_do_shortcode_tag Short-circuits shortcode processing before the callback is called. apply_filters(...
WordPress Shortcodes API Overview
The Shortcodes API provides a bbcode-like tag system for WordPress. It allows developers to create custom macros that users can...
Script Modules API
Native support for ES Modules and Import Maps in WordPress. Since: 6.5.0 Source: wp-includes/script-modules.php, wp-includes/class-wp-script-modules.php Components Component Description functions.md Core...
WP_Script_Modules Class
Core class for registering and managing script modules. Since: 6.5.0 Source: wp-includes/class-wp-script-modules.php Properties Private Properties Property Type Description $registered array<string,...
Script Modules Functions
Global functions for registering and managing script modules. Source: wp-includes/script-modules.php wp_script_modules() Retrieves the main WP_Script_Modules instance. function wp_script_modules(): WP_Script_Modules Since:...
Script Modules Hooks
Actions and filters for customizing script module behavior. Source: wp-includes/class-wp-script-modules.php Filters script_module_loader_src Filters the script module source URL. apply_filters( 'script_module_loader_src',...
xmlrpc.php
Purpose XML-RPC endpoint for remote publishing and legacy APIs (MetaWeblog, Blogger, MovableType, etc.). Flow Defines XMLRPC_REQUEST and clears cookies. Reads...
wp-login.php
Purpose Handles authentication-related flows: login, logout, registration, password reset, and admin email confirmation. Flow Loads WordPress via wp-load.php and enforces...
wp-mail.php
Purpose Implements Post by Email: pulls messages from a configured POP3 mailbox and turns them into posts. Flow Loads WordPress...
wp-settings.php
Purpose Core bootstrap that initializes WordPress: loads core libraries, sets constants, configures DB/cache, loads plugins and themes, and fires the...
wp-signup.php
Purpose Multisite signup handler for new users and/or new sites, including validation and form rendering. Flow Loads WordPress (wp-load.php) and...
wp-trackback.php
Purpose Handles incoming trackbacks/pingbacks, validates data, and creates trackback comments. Flow Loads WordPress and runs wp( array( 'tb' => '1'...
WordPress Rewrite API Overview
The WordPress Rewrite API transforms human-readable URLs (permalinks) into query parameters that WordPress can process. It's the foundation of "pretty...
WP_Rewrite Class
Core class implementing the WordPress rewrite component API. Handles permalink structures, rewrite rules, and URL pattern matching. class WP_Rewrite {...
WordPress Rewrite Functions
Functions for managing URL rewrite rules, tags, endpoints, and permalink structures. add_rewrite_rule() Adds a rewrite rule that transforms a URL...
WordPress Rewrite Hooks
Filters and actions for customizing URL rewriting and permalink generation. Actions generate_rewrite_rules Fires after rewrite rules are generated. do_action_ref_array( 'generate_rewrite_rules',...
Robots Functions
Conditional Functions is_robots() Determines whether the query is for the robots.txt file. function is_robots(): bool Since: 2.1.0 Returns: bool —...
Robots Hooks
Filters wp_robots Filters the directives to be included in the robots meta tag. apply_filters( 'wp_robots', array $robots ): array Since:...
Robots API
Controls robots.txt generation and meta robots directives for search engine crawlers. Since: 2.1.0 (robots.txt), 5.7.0 (meta robots) Source: wp-includes/robots-template.php, wp-includes/functions.php,...
`/wp/v2/types`
Namespace: wp/v2 Route: /wp/v2/types Routes Collection: /wp/v2/types Single: /wp/v2/types/{type} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection...
`/wp/v2/users/me`
Namespace: wp/v2 Route: /wp/v2/users/me Routes Collection: /wp/v2/users/me HTTP Methods Collection methods: GET, POST, PUT, PATCH, DELETE Request Parameters Collection GET...
`/wp/v2/users`
Namespace: wp/v2 Route: /wp/v2/users Routes Collection: /wp/v2/users Single: /wp/v2/users/{id} HTTP Methods Collection methods: GET, POST Single methods: GET, POST, PUT,...
`/wp/v2/widget-types`
Namespace: wp/v2 Route: /wp/v2/widget-types Routes Collection: /wp/v2/widget-types Single: /wp/v2/widget-types/{id} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection...
`/wp/v2/widgets`
Namespace: wp/v2 Route: /wp/v2/widgets Routes Collection: /wp/v2/widgets Single: /wp/v2/widgets/{id} HTTP Methods Collection methods: GET, POST Single methods: GET, POST, PUT,...
`/wp/v2/templates`
Namespace: wp/v2 Route: /wp/v2/templates Routes Collection: /wp/v2/templates Single: /wp/v2/templates/{id} HTTP Methods Collection methods: GET, POST Single methods: GET, POST Request...
REST API
WordPress REST API for building and consuming HTTP-based JSON endpoints. Since: 4.4.0 Source: wp-includes/rest-api.php, wp-includes/rest-api/ Components Component Description functions.md Core...
REST API Hooks
Actions and filters for the REST API. Actions rest_api_init Fires when the REST API server is initialized. Register routes here....
WP_REST_Response
Core class implementing a REST response object. Extends WP_HTTP_Response with link handling and route matching. Source: wp-includes/rest-api/class-wp-rest-response.php Since: 4.4.0 Extends:...
WP_REST_Server
Core class implementing the WordPress REST API server. Handles route registration, request dispatch, and response formatting. Source: wp-includes/rest-api/class-wp-rest-server.php Since: 4.4.0...
REST API Functions
Core functions for route registration, URL handling, and utilities. Source: wp-includes/rest-api.php Route Registration register_rest_route() Registers a REST API route. Must...
WP_REST_Request
Core class implementing a REST request object. Contains request data passed to endpoint callbacks. Source: wp-includes/rest-api/class-wp-rest-request.php Since: 4.4.0 Implements ArrayAccess...
REST API Controller Hooks
Overview REST API controllers fire numerous hooks for filtering and action purposes. Most hooks include a dynamic portion based on...
WordPress REST API Controllers Overview
Architecture WordPress REST API controllers follow a consistent object-oriented architecture based on the abstract WP_REST_Controller class. Each controller manages a...
WP_REST_Terms_Controller
Core class used to manage terms associated with a taxonomy via the REST API. Class Synopsis class WP_REST_Terms_Controller extends WP_REST_Controller...
WP_REST_Users_Controller
Core class used to manage users via the REST API. Class Synopsis class WP_REST_Users_Controller extends WP_REST_Controller { protected $meta; protected...
WP_REST_Posts_Controller
Core class to access posts via the REST API. The most comprehensive controller, serving as the basis for many other...
WP_REST_Revisions_Controller
Core class used to access revisions via the REST API. Provides read-only access to post revisions plus deletion capability. Class...
Requests Library Overview
The Requests library is an HTTP client for PHP, bundled with WordPress. It provides a clean API for making HTTP...
Requests Utility Classes
Utility classes for the Requests library. Source files: wp-includes/Requests/src/Utility/CaseInsensitiveDictionary.php wp-includes/Requests/src/Utility/FilteredIterator.php wp-includes/Requests/src/Utility/InputValidator.php WpOrgRequestsUtilityCaseInsensitiveDictionary Case-insensitive dictionary, suitable for HTTP headers. Namespace: WpOrgRequestsUtility...
WpOrgRequestsRequests
Main entry point for the Requests HTTP library. This is a purely static class — it cannot be instantiated. Source:...
Requests Interfaces
All interfaces defined in the Requests library. Source files: wp-includes/Requests/src/Auth.php wp-includes/Requests/src/Capability.php wp-includes/Requests/src/HookManager.php wp-includes/Requests/src/Proxy.php wp-includes/Requests/src/Transport.php WpOrgRequestsAuth Authentication provider interface. Source: wp-includes/Requests/src/Auth.php...
WpOrgRequestsSession
Session handler for persistent requests with shared default parameters. Source: wp-includes/Requests/src/Session.php Namespace: WpOrgRequests Overview Session allows setting a base URL,...
WpOrgRequestsSsl
SSL certificate verification utilities for the Requests library. Source: wp-includes/Requests/src/Ssl.php Namespace: WpOrgRequests Package: RequestsUtilities Modifier: final Overview A collection of...
Recovery Mode
Error protection system that detects fatal errors from plugins/themes and allows administrators to safely access the site. Since: 5.2.0 Source:...
WP_Recovery_Mode
Core class implementing Recovery Mode functionality. Orchestrates cookie, key, link, and email services. Source: wp-includes/class-wp-recovery-mode.php Since: 5.2.0 Constants Constant Value...
Error Protection Functions
Core functions for the error protection and recovery mode system. Source: wp-includes/error-protection.php wp_recovery_mode() Accesses the global WordPress Recovery Mode instance....
Recovery Mode Hooks
Actions and filters for the error protection and recovery mode system. Source: Various recovery mode files Actions generate_recovery_mode_key Fires when...
WP_Recovery_Mode_Key_Service
Service class for generating, storing, and validating recovery mode keys. Source: wp-includes/class-wp-recovery-mode-key-service.php Since: 5.2.0 Properties Property Type Visibility Description $option_name...
WP_Recovery_Mode_Link_Service
Service class for generating and handling recovery mode links. Source: wp-includes/class-wp-recovery-mode-link-service.php Since: 5.2.0 Constants Constant Value Description LOGIN_ACTION_ENTER 'enter_recovery_mode' Login...
WordPress Query API
The Query API is the backbone of WordPress content retrieval, powering The Loop and determining what content displays on every...
WP_Query Class
The main WordPress query class. Handles post retrieval, The Loop, and query state. Source: wp-includes/class-wp-query.php Since: 1.5.0 Basic Usage $query...
Query Functions
Functions for querying posts, managing The Loop, and checking query conditions. Source: wp-includes/query.php Loop Functions have_posts() Determines whether current WordPress...
Query API Hooks
Actions and filters for modifying WordPress queries. Source: wp-includes/class-wp-query.php, wp-includes/query.php Actions Query Lifecycle pre_get_posts Fires after the query variable object...
WP_Date_Query Class
Generates SQL clauses for filtering queries by date columns. Source: wp-includes/class-wp-date-query.php Since: 3.7.0 Overview WP_Date_Query is a helper class used...
WordPress Privacy Hooks
This document covers all actions and filters related to WordPress's privacy and GDPR compliance system. Actions user_request_action_confirmed Fires when a...
WordPress Privacy System Overview
WordPress includes a comprehensive privacy and GDPR compliance system introduced in version 4.9.6. This system enables sites to handle personal...
WP_User_Request Class
The WP_User_Request class represents a user data privacy request loaded from a WP_Post object. It provides a structured interface for...
WordPress Privacy Functions
This document covers the core privacy-related functions in WordPress for handling personal data requests, exports, erasures, and anonymization. Request Management...
WordPress Posts Overview
Core documentation for WordPress post/content management system. Source Files /wp-includes/post.php - Core post API (CRUD, meta, statuses) /wp-includes/post-template.php - Template...
WordPress Post Functions Reference
Complete reference of all WordPress post/content functions. CRUD Functions get_post() Retrieves post data given a post ID or post object....
WordPress Post Hooks Reference
Complete reference of hooks related to posts, content, revisions, and featured images. Post CRUD Hooks Insertion Hooks (Create) pre_post_insert Fires...
Post Types API Functions
Core functions for post type registration and management. Source: wp-includes/post.php register_post_type() Registers a new post type. Must be called during...
Post Types API Hooks
Actions and filters for post type registration and management. Source: wp-includes/post.php, wp-includes/class-wp-post-type.php Actions registered_post_type Fires after a post type is...
Post Types API
Framework for registering and managing WordPress post types. Since: 2.9.0 Source: wp-includes/post.php, wp-includes/class-wp-post-type.php Components Component Description functions.md Core registration and...
WP_Post_Type Class
Core class for interacting with post types. Since: 4.6.0 Source: wp-includes/class-wp-post-type.php final class WP_Post_Type { // ... } Properties $name...
Translation_Entry
Encapsulates a single translatable string with its translations, metadata, and context. Source: wp-includes/pomo/entry.php Since: 2.8.0 Properties Property Type Default Description...
Translations
Base class for a set of translation entries and their associated headers. Provides the core translation lookup interface. Source: wp-includes/pomo/translations.php...
POMO — PO/MO Translation File Handling
WordPress gettext-based internationalization subsystem for reading, writing, and managing PO and MO translation files. Since: 2.8.0 Source: wp-includes/pomo/ Components Component...
Stream Readers
Classes for reading streams of data, used by the MO file parser. Handles byte-level I/O with endian-aware integer reading and...
Gettext_Translations
Extends Translations with gettext-specific functionality: plural form expression parsing, header management, and dynamic plural form selection from the Plural-Forms header....
MO
Reads and writes MO (Machine Object) binary translation files — the compiled format used by gettext at runtime. Source: wp-includes/pomo/mo.php...
WordPress Plugin Functions
Core functions for plugin management, URLs, lifecycle hooks, and utilities. Plugin Path & URL Functions plugin_basename( $file ) Extracts the...
WordPress Plugin-Specific Hooks
This document covers hooks specifically related to plugin lifecycle, management, and pluggable function customization. For the general action/filter system, see...
WordPress Pluggable Functions
Pluggable functions are core WordPress functions that can be completely overridden by plugins. They are defined conditionally in wp-includes/pluggable.php using...
WordPress Plugin API Overview
The Plugin API is WordPress's system for extending core functionality through modular code packages. It encompasses plugin loading, activation lifecycle,...
Options API
Framework for storing and retrieving site-wide configuration data in WordPress. Since: 1.0.0 Source: wp-includes/option.php Components Component Description functions.md Core option...
Options API Functions
Core functions for option and transient management. Source: wp-includes/option.php Core Option Functions get_option() Retrieves an option value based on option...
Options API Hooks
Actions and filters for the Options API. Option Filters pre_option_{$option} Short-circuits option retrieval. Return non-false to bypass database lookup. apply_filters(...
WP_Plugin_Dependencies
Static class for resolving plugin dependencies declared via the Requires Plugins header. Source: wp-includes/class-wp-plugin-dependencies.php Since: 6.5.0 Overview All methods are...
Plugin Dependencies Hooks
Filters for the Plugin Dependencies API. Filters wp_plugin_dependencies_slug Filters a dependency slug before validation against WordPress.org slug format. apply_filters( 'wp_plugin_dependencies_slug',...
Plugin Dependencies API
Framework for declaring and resolving plugin dependencies in WordPress. Since: 6.5.0 Source: wp-includes/class-wp-plugin-dependencies.php Components Component Description class-wp-plugin-dependencies.md Static class for...
WordPress Navigation Menus API Overview
The Navigation Menus API, introduced in WordPress 3.0, provides a comprehensive system for creating, managing, and displaying navigation menus. It...
Walker_Nav_Menu Class
The Walker_Nav_Menu class is responsible for rendering navigation menu HTML. It extends the base Walker class and traverses menu items...
Navigation Menu Functions
Complete reference for WordPress navigation menu functions. Display Functions wp_nav_menu() Displays a navigation menu. wp_nav_menu( array $args = array() ):...
Navigation Menu Hooks
Comprehensive reference for all action and filter hooks in the WordPress Navigation Menus API. Display Filters wp_nav_menu_args Filters arguments passed...
Multisite Settings
WordPress Multisite settings are managed at two levels: network-wide (Super Admin) and per-site (Site Admin). Understanding which settings live where...
WordPress Multisite Hooks Reference
Complete reference for all WordPress Multisite actions and filters. Site Lifecycle Hooks wp_insert_site Fires once a site has been inserted...
WordPress Multisite Architecture
WordPress Multisite enables running multiple sites from a single WordPress installation. This document covers the core architecture, terminology, and fundamental...
Network Admin (Multisite)
The Network Admin dashboard is the Super Admin control center for managing all sites, users, themes, and plugins across a...
WordPress Multisite Functions Reference
Complete reference for all WordPress Multisite API functions. Site Retrieval Functions get_site() Retrieves site data given a site ID or...
Metadata API
Framework for storing and retrieving key-value metadata for WordPress objects. Since: 2.9.0 Source: wp-includes/meta.php, wp-includes/class-wp-metadata-lazyloader.php Components Component Description functions.md Core...
WP_Metadata_Lazyloader
Lazy-loads object metadata for improved performance. Since: 4.5.0 Source: wp-includes/class-wp-metadata-lazyloader.php Description When loading many objects of a given type (e.g.,...
Metadata API Functions
Core functions for metadata CRUD operations and registration. Source: wp-includes/meta.php CRUD Functions add_metadata() Adds metadata for the specified object. add_metadata(...
Metadata API Hooks
Actions and filters for the Metadata API. All hooks use dynamic names where {$meta_type} is replaced with the object type...
WordPress Media API
Comprehensive system for managing media files including image manipulation, upload handling, and attachment management. Source: wp-includes/media.php, wp-includes/class-wp-image-editor.php, wp-includes/media-template.php Components Component...
WP_Image_Editor Classes
Abstract base class and implementations for image manipulation in WordPress. Source: wp-includes/class-wp-image-editor.php, wp-includes/class-wp-image-editor-gd.php, wp-includes/class-wp-image-editor-imagick.php Class Hierarchy WP_Image_Editor (abstract) ├── WP_Image_Editor_GD...
Media API Functions
Core functions for attachment retrieval, image sizing, and media output. Source: wp-includes/media.php Attachment Retrieval wp_get_attachment_image() Returns an HTML <img> element...
Media API Hooks
Actions and filters for media processing, image manipulation, and attachment handling. Source: wp-includes/media.php, wp-includes/class-wp-image-editor.php Image Size Filters editor_max_image_size Filters maximum...
WordPress Links & URL Hooks Reference
Site URL Filters home_url Filters the home URL. add_filter( 'home_url', function( $url, $path, $orig_scheme, $blog_id ) { return $url; },...
WordPress Links & URL API Overview
WordPress provides a comprehensive URL generation system that handles permalinks, site URLs, admin URLs, and canonical URL management. The system...
WordPress Links & URL Functions Reference
Site URL Functions home_url( $path = '', $scheme = null ) Returns the URL for the site's front-end. home_url(); //...
WordPress Translation Functions Reference
Complete reference for WordPress internationalization functions. Basic Translation Functions __( $text, $domain = 'default' ) Retrieves the translation of a...
WordPress Localization Hooks Reference
Filters and actions for customizing translation behavior. Translation Filters gettext Filters translated text after translation lookup. apply_filters( 'gettext', string $translation,...
WordPress Localization (i18n/l10n) API Overview
WordPress internationalization (i18n) and localization (l10n) system for translating text strings. Core Concepts Internationalization (i18n) The process of developing software...
WP_Locale Class Reference
Stores translated locale-specific data including weekdays, months, date formats, and text direction. File: wp-includes/class-wp-locale.php Since: WordPress 2.1.0 Global: Available as...
@wordpress/hooks
Hook system for filters and actions in JavaScript. Filters addFilter( hookName, namespace, callback, priority? ) Registers a filter. hookName string...
@wordpress/i18n
Internationalization utilities for translating strings. Key APIs __( text, domain? ) Translate a string. _x( text, context, domain? ) Translate...
JavaScript Packages
Core @wordpress/* JavaScript packages bundled with WordPress. Source: wp-includes/js/dist/ Packages Package Description blocks.md Block registration and serialization block-editor.md Block editor...
@wordpress/scripts
Build tooling for WordPress block development. CLI Commands Run via wp-scripts (installed by @wordpress/scripts). wp-scripts start — dev build with...
@wordpress/url
URL utilities for query strings and path handling. Key APIs addQueryArgs( url, args ) Adds/updates query arguments and returns a...
@wordpress/dom-ready
Runs a callback when the DOM is ready. API domReady( callback ) Invokes callback once the document is ready. Equivalent...
WP_URL_Pattern_Prefixer
Prefixes URL patterns with base paths for WordPress installations. Source: wp-includes/class-wp-url-pattern-prefixer.php Since: 6.8.0 Access: private Overview This class handles URL...
Internals
Internal WordPress classes not intended for direct plugin use. Source: wp-includes/class-wp-*.php Components Component Description class-wp-meta-query.md Meta query SQL generation class-wp-tax-query.md...
WP_Token_Map
High-performance data structure for string key-to-value lookups with optimized memory layout. Source: wp-includes/class-wp-token-map.php Since: 6.6.0 Overview WP_Token_Map provides efficient string...
WP_MatchesMapRegex
Helper class for replacing $matches[] references in query strings without using eval(). Source: wp-includes/class-wp-matchesmapregex.php Since: 2.9.0 Overview This class provides...
WP_Meta_Query
SQL generator for meta (custom field) queries. Source: wp-includes/class-wp-meta-query.php Since: 3.2.0 Overview WP_Meta_Query generates SQL JOIN and WHERE clauses for...
WP_Tax_Query
SQL generator for taxonomy term queries. Source: wp-includes/class-wp-tax-query.php Since: 3.1.0 Overview WP_Tax_Query generates SQL JOIN and WHERE clauses for filtering...
Interactivity API Directives
All data-wp-* directive attributes processed by the Interactivity API. Source: wp-includes/interactivity-api/class-wp-interactivity-api.php Since: 6.5.0 Directive Syntax data-wp-{directive}[--{suffix}][---{unique-id}]="[namespace::]{value}" directive: The directive name...
Interactivity API Functions
Global wrapper functions for the Interactivity API. Source: wp-includes/interactivity-api/interactivity-api.php wp_interactivity() Retrieves the main WP_Interactivity_API instance. function wp_interactivity(): WP_Interactivity_API Since: 6.5.0...
Interactivity API Hooks
Filters for customizing Interactivity API behavior. Source: wp-includes/interactivity-api/class-wp-interactivity-api.php Filters script_module_data_@wordpress/interactivity Filters the data passed to the @wordpress/interactivity script module. apply_filters(...
Interactivity API
Server-side processing of interactive directives for WordPress blocks. Since: 6.5.0 Source: wp-includes/interactivity-api/ Components Component Description functions.md Global wrapper functions class-wp-interactivity-api.md...
WP_Interactivity_API
Main class for server-side Interactivity API processing. Source: wp-includes/interactivity-api/class-wp-interactivity-api.php Since: 6.5.0 final class WP_Interactivity_API Properties $directive_processors private static array $directive_processors...
WordPress HTTP API Overview
The WordPress HTTP API provides a standardized interface for making HTTP requests. It abstracts away the complexity of different PHP...
WP_Http Class
Core class used for managing HTTP transports and making HTTP requests. File: wp-includes/class-wp-http.php Since: 2.7.0 Overview WP_Http is the primary...
WordPress HTTP API Functions
Request Functions wp_remote_request() Performs an HTTP request and returns its response. wp_remote_request( string $url, array $args = array() ): array|WP_Error...
WordPress HTTP API Hooks
This document covers all filters and actions available in the WordPress HTTP API. Request Filters http_request_timeout Filters the timeout value...
WP_HTTP_Response Class
Core class used to prepare HTTP responses. File: wp-includes/class-wp-http-response.php Since: 4.4.0 Overview WP_HTTP_Response is a simple container class for HTTP...
WP_Http_Streams Class
Core class used to integrate PHP Streams as an HTTP transport. File: wp-includes/class-wp-http-streams.php Since: 2.7.0 Since: 3.7.0 - Combined with...
HTTPS Functions
Detection and migration functions for WordPress HTTPS support. Source: wp-includes/https-detection.php, wp-includes/https-migration.php Detection Functions wp_is_using_https() Checks whether the website is using...
HTTPS Hooks
Filters for customizing HTTPS detection and migration behavior. Filters pre_wp_get_https_detection_errors Short-circuits the HTTPS detection process. apply_filters( 'pre_wp_get_https_detection_errors', null|WP_Error $pre )...
HTTPS Detection & Migration
Framework for detecting HTTPS support and migrating sites from HTTP to HTTPS. Since: 5.7.0 Source: wp-includes/https-detection.php, wp-includes/https-migration.php Components Component Description...
HTML API
WordPress HTML parsing and modification framework providing spec-compliant HTML5 processing. Since: 6.2.0 Source: wp-includes/html-api/ Components Component Description class-wp-html-tag-processor.md Tag-level HTML...
WP_HTML_Tag_Processor
Linear HTML scanner for finding and modifying HTML tags and their attributes. Source: wp-includes/html-api/class-wp-html-tag-processor.php Since: 6.2.0 Constants Bookmarks & Limits...
WP_HTML_Text_Replacement
Data structure for queuing text replacements in an HTML document. Source: wp-includes/html-api/class-wp-html-text-replacement.php Since: 6.2.0 Access: private Overview Represents a text...
WP_HTML_Token
Represents a token in the HTML document for tracking in parser stacks. Source: wp-includes/html-api/class-wp-html-token.php Since: 6.4.0 Access: private Properties bookmark_name...
WP_HTML_Unsupported_Exception
Exception thrown when the HTML processor encounters unsupported markup. Source: wp-includes/html-api/class-wp-html-unsupported-exception.php Since: 6.4.0 Since: 6.7.0 Gained contextual debugging information Access:...
Hooks
The HTML API does not define any actions or filters. (Verified: no do_action or apply_filters calls exist in any source...
Common Hooks
Categorized reference of frequently-used WordPress action and filter hooks. Initialization Actions Core Bootstrap Hook When it Fires Typical Use muplugins_loaded...
Hook Functions
Core functions for registering and executing WordPress hooks. Source: wp-includes/plugin.php Filter Functions add_filter() Adds a callback function to a filter...
Hooks API
The foundation of WordPress extensibility. Hooks allow plugins and themes to modify behavior without editing core files. Since: 0.71 (filters),...
WP_Hook
Core class implementing action and filter hook functionality. Since: 4.7.0 Source: wp-includes/class-wp-hook.php final class WP_Hook implements Iterator, ArrayAccess Overview WP_Hook...
WordPress Formatting API Hooks
Escaping Filters esc_html Filters a string after HTML escaping. apply_filters( 'esc_html', string $safe_text, string $text ) Parameters: $safe_text - The...
WordPress Formatting API Overview
The Formatting API is one of WordPress's largest and most critical subsystems, handling text transformation, sanitization, and escaping throughout the...
WordPress Formatting API Functions
Escaping Functions Escaping functions make data safe for output in a specific context. Always escape on output. esc_html() Escapes a...
Fonts API
Framework for managing web fonts, font faces, and font collections in WordPress. Since: 6.4.0 (core), 6.5.0 (Font Library/Collections) Source: wp-includes/fonts.php,...
Fonts API Functions
Font Face Output wp_print_font_faces() Generates and prints @font-face styles for given fonts or theme.json fonts. wp_print_font_faces( array $fonts = array()...
Fonts API Hooks
Filters font_dir Filters the fonts directory data. apply_filters( 'font_dir', array $font_dir ): array Since: 6.5.0 Parameters: Name Type Description $font_dir...
WP_Font_Collection
Represents a collection of fonts that can be installed from the Font Library. Since: 6.5.0 Source: wp-includes/fonts/class-wp-font-collection.php Description A font...
WP_Font_Face_Resolver
Extracts font definitions from theme.json and style variations. Since: 6.4.0 Source: wp-includes/fonts/class-wp-font-face-resolver.php Access: Private (internal core usage) Description This class...
WP_Font_Face
Generates and prints @font-face CSS styles for given fonts. Since: 6.4.0 Source: wp-includes/fonts/class-wp-font-face.php Description This class handles the generation of...
WordPress Feed API Overview
The WordPress Feed API provides functionality for both generating outgoing feeds (RSS, Atom, RDF) and consuming external feeds via SimplePie...
WordPress Feed Functions
Feed Consumption fetch_feed() Builds a SimplePie object from an RSS or Atom feed URL. function fetch_feed( string|array $url ): SimplePieSimplePie|WP_Error...
WordPress Feed Hooks
Filters Content Filters the_title_rss Filters the post title for use in feeds. apply_filters( 'the_title_rss', string $title ): string Parameters: $title...
Error Hooks
Actions and filters for WordPress error handling. Actions wp_error_added Fires when an error is added to a WP_Error object. do_action(...
WP_Fatal_Error_Handler
Default shutdown handler for fatal PHP errors. Source: wp-includes/class-wp-fatal-error-handler.php Since: 5.2.0 Description WP_Fatal_Error_Handler handles fatal PHP errors that would normally...
Error Handling
WordPress error handling system using the WP_Error class pattern and PHP error/exception handling. Since: 2.1.0 (WP_Error), 5.2.0 (Fatal Error Handler),...
Error Functions
Core functions for error checking, termination, and error protection. Source: wp-includes/load.php, wp-includes/functions.php, wp-includes/error-protection.php Error Checking is_wp_error() Checks whether a variable...
WP_Error
Container class for checking WordPress errors and error messages. Source: wp-includes/class-wp-error.php Since: 2.1.0 Description WP_Error is returned by many core...
WP_Exception
Core base Exception class for WordPress. Source: wp-includes/class-wp-exception.php Since: 6.7.0 Description WP_Exception is the base exception class for WordPress. All...
Embeds / oEmbed API
Framework for embedding rich media content from URLs, both consuming external oEmbed providers and serving WordPress content as embeddable. Since:...
Embed Functions
Core functions for embedding content and managing oEmbed providers. Source: wp-includes/embed.php Handler Registration wp_embed_register_handler() Registers a custom embed handler for...
Embed Hooks
Actions and filters for the WordPress Embeds/oEmbed system. Filters Provider Management oembed_providers Filters the list of registered oEmbed providers. apply_filters(...
WP_Embed Class
API for embedding rich media content from URLs into post content. Since: 2.9.0 Source: wp-includes/class-wp-embed.php Overview WP_Embed is the core...
WP_oEmbed Class
Core class for fetching HTML embeds from oEmbed provider APIs. Since: 2.9.0 Source: wp-includes/class-wp-oembed.php Overview WP_oEmbed is the consumer-side oEmbed...
Email System
WordPress email architecture built on PHPMailer with extensive hook-based customization. Source: wp-includes/pluggable.php, wp-includes/PHPMailer/, wp-includes/class-wp-phpmailer.php Components Component Description class-wp-phpmailer.md WordPress PHPMailer...
Email Hooks
Actions and filters for customizing WordPress email functionality. Source: wp-includes/pluggable.php, wp-includes/ms-functions.php Filters wp_mail Filter all wp_mail() arguments before processing. apply_filters(...
WP_PHPMailer
WordPress extension of PHPMailer providing internationalized error messages. Since: 6.8.0 Source: wp-includes/class-wp-phpmailer.php Extends: PHPMailerPHPMailerPHPMailer Purpose WP_PHPMailer overrides PHPMailer's language handling...
WordPress Classic Editor API Overview
The WordPress Classic Editor API provides integration with TinyMCE (visual editor) and Quicktags (code editor) for rich text editing throughout...
Editor Functions Reference
Public functions for working with the WordPress Classic Editor (TinyMCE and Quicktags). File: wp-includes/general-template.php (primary) Additional: wp-includes/formatting.php, wp-includes/theme.php wp_editor() Renders...
Editor Hooks Reference
Filters and actions for customizing the WordPress Classic Editor (TinyMCE and Quicktags). Filters wp_editor_settings Filter the wp_editor() settings before parsing....
_WP_Editors Class Reference
The _WP_Editors class facilitates adding the WordPress editor (TinyMCE and Quicktags) to pages. This is a private/internal class - use...
Text Diff API
System for computing and rendering differences between two text strings, commonly used for revision comparison. Since: 2.6.0 Source: wp-includes/wp-diff.php, wp-includes/pluggable.php...
Text Diff Functions
Core function for generating human-readable diff output. Source: wp-includes/pluggable.php wp_text_diff() Displays a human-readable HTML representation of the difference between two...
Text Diff Hooks
Filters for customizing diff output processing. Filters process_text_diff_html Filters a diffed line after HTML encoding but before output. Since: 4.1.0...
WP_Text_Diff_Renderer_inline
Inline diff renderer with improved word splitting for multilingual support. Source: wp-includes/class-wp-text-diff-renderer-inline.php Since: 2.6.0 (class), 4.7.0 (separate file) Extends: Text_Diff_Renderer_inline...
WP_Text_Diff_Renderer_Table
Table-based renderer for displaying diff output in a two-column HTML table format. Source: wp-includes/class-wp-text-diff-renderer-table.php Since: 2.6.0 Extends: Text_Diff_Renderer Properties Public...
WordPress Database API (WPDB)
WordPress database abstraction layer built on MySQLi. Since: 0.71 Source: wp-includes/class-wpdb.php Components Component Description class-wpdb.md Main database class - properties,...
Database API Hooks
Actions and filters for the WordPress Database API (WPDB). Filters query Filters the database query before execution. apply_filters( 'query', string...
class wpdb
WordPress database access abstraction class. Since: 0.71 Source: wp-includes/class-wpdb.php Overview The wpdb class provides methods for interacting with the WordPress...
wp_terms
Stores the basic term data (name and slug) for categories, tags, and custom taxonomies. Schema Column Type Null Default Description...
wp_usermeta
Key-value storage for user metadata. Stores capabilities, preferences, and custom user data. Schema Column Type Null Default Description umeta_id bigint(20)...
wp_users
Stores WordPress user accounts. Core authentication and profile data. Schema Column Type Null Default Description ID bigint(20) unsigned NO auto_increment...
wp_postmeta
Key-value storage for post metadata. Extends wp_posts with arbitrary custom fields. Schema Column Type Null Default Description meta_id bigint(20) unsigned...
wp_posts
The central content table storing all WordPress content including posts, pages, attachments, revisions, and custom post types. Schema Column Type...
wp_term_relationships
Junction table linking posts (objects) to terms. Implements the many-to-many relationship between content and taxonomies. Schema Column Type Null Default...
Customizer Hooks Reference
Comprehensive reference for all WordPress Customizer actions and filters. Registration Hooks customize_register Primary hook for registering Customizer components. add_action( 'customize_register',...
WP_Customize_Section
A UI container for controls in the Customizer. Sections group related controls together and can optionally be placed inside panels...
WP_Customize_Setting
Handles saving and sanitizing of Customizer settings. Settings are the data layer of the Customizer, responsible for storing values, applying...
WordPress Customizer API Overview
The WordPress Customizer (Theme Customization API) provides a framework for live-previewing any changes to WordPress settings. Introduced in WordPress 3.4,...
WP_Customize_Control
The UI element class for the Customizer. Controls provide the interface for users to modify settings, including input fields, dropdowns,...
WP_Customize_Manager
The central orchestrator class for the WordPress Customizer. It serves as a factory for settings, sections, panels, and controls, and...
Selective Refresh
Classes for implementing selective (partial) refresh in the Customizer preview. WP_Customize_Selective_Refresh Core class for implementing selective refresh. Manages partial registration...
Customize Settings
Setting classes in wp-includes/customize/ that extend WP_Customize_Setting. WP_Customize_Filter_Setting A setting used to filter a value but will not save the...
Customize Classes
WordPress Customizer class files providing controls, settings, sections, panels, and selective refresh for the Customizer (Theme Customization API). Source: wp-includes/customize/...
Customize Panels
Panel classes in wp-includes/customize/ that extend WP_Customize_Panel. WP_Customize_Themes_Panel Panel for browsing and switching themes. Displays active/previewing theme with a "Change"...
Customize Sections
Section classes in wp-includes/customize/ that extend WP_Customize_Section. WP_Customize_Themes_Section UI container for theme controls with search, filter, and feature-filter capabilities. Source:...
Widget Controls
Controls for managing widgets in the Customizer. WP_Widget_Area_Customize_Control Control representing a widget area (sidebar) with add/reorder widget functionality. Source: wp-includes/customize/class-wp-widget-area-customize-control.php...
Widget Blocks
Dynamic content blocks for sidebars and widgets. core/archives Post archives list by date. Attributes: displayAsDropdown (boolean) — Display as dropdown...
Text Blocks
Content and typography blocks. core/paragraph Basic text content block. Attributes: content (rich-text) — Paragraph text dropCap (boolean) — Enable drop...
Theme Blocks
Site structure, query loop, and post content blocks. Site Blocks core/site-title Site title from Settings. Attributes: level (integer) — Heading...
Media Blocks
Image, video, audio, and file blocks. core/image Single image with optional caption. Attributes: id (integer) — Attachment ID url (string)...
Reusable/Pattern Blocks
Blocks for reusing content across posts. core/block Synced pattern (formerly "reusable block"). References a wp_block post that can be reused...
Core Blocks
WordPress core blocks shipped with every installation. Source: wp-includes/blocks/*/block.json Total: 106 blocks Blocks by Category Category Count Description text 14...
WordPress Cron API
Pseudo-cron system for scheduling deferred and recurring tasks in WordPress. Since: 2.1.0 Source: wp-includes/cron.php, wp-cron.php Components Component Description functions.md Scheduling,...
Cron Functions
Scheduling Functions wp_schedule_single_event() Schedules an event to run only once. wp_schedule_single_event( int $timestamp, string $hook, array $args = [], bool...
Cron Hooks
Filters pre_schedule_event Short-circuits event scheduling before it occurs. apply_filters( 'pre_schedule_event', null|bool|WP_Error $result, object $event, bool $wp_error ): null|bool|WP_Error Parameters: $result...
Comments API
WordPress comment system for managing user discussions on posts and pages. Since: 1.0.0 Source: wp-includes/comment.php, wp-includes/class-wp-comment.php, wp-includes/class-wp-comment-query.php, wp-includes/comment-template.php Components Component...
Comment Functions
Core functions for working with WordPress comments. Retrieval Functions get_comment() Retrieves comment data given a comment ID or comment object....
Comment Hooks
Actions and filters for customizing the WordPress comment system. Query Hooks Actions pre_get_comments Fires before comments are retrieved. do_action_ref_array( 'pre_get_comments',...
WP_Comment_Query
Core class for querying comments from the database. Since: 3.1.0 Source: wp-includes/class-wp-comment-query.php Overview WP_Comment_Query retrieves comments based on specified criteria....
WP_Comment
Core class for organizing comments as instantiated objects. Since: 4.4.0 Source: wp-includes/class-wp-comment.php Overview WP_Comment represents a single comment as an...
Cache Hooks
Actions and filters related to the WordPress Object Cache. Source: Various WordPress core files Overview The Object Cache API itself...
Cache API
In-memory object caching system for reducing database queries and expensive computations. Since: 2.0.0 Source: wp-includes/cache.php, wp-includes/class-wp-object-cache.php, wp-includes/cache-compat.php Components Component Description...
WP_Object_Cache
Core class that implements an in-memory object cache. Since: 2.0.0 Source: wp-includes/class-wp-object-cache.php Description The WordPress Object Cache stores data in...
Cache Functions
Public API functions for the WordPress Object Cache. Source: wp-includes/cache.php, wp-includes/cache-compat.php Initialization wp_cache_init() Sets up the Object Cache global and...
WP Class – WordPress Environment Setup
The WP class is responsible for setting up the WordPress environment, parsing requests, and initializing the main query loop. File:...
WordPress Bootstrap Constants
Constants defined during WordPress initialization. Many can be overridden in wp-config.php. Version Constants Defined in wp-includes/version.php: Constant Value Purpose $wp_version...
WordPress Loading Functions
Functions defined in wp-includes/load.php that handle WordPress initialization. Server Environment Functions wp_get_server_protocol() Returns the HTTP protocol sent by the server....
WordPress Bootstrap Hooks
Hooks fired during WordPress initialization and request handling, in execution order. Early Bootstrap Hooks These hooks fire before plugins load....
WordPress Bootstrap/Loading System
Overview WordPress follows a carefully orchestrated loading sequence that initializes the environment, loads core functionality, and prepares the system for...
WordPress Bookmarks/Links Manager
Overview The WordPress Bookmarks API (also known as Links Manager) is a legacy feature that was included in WordPress for...
Bookmark Functions Reference
Data Retrieval Functions get_bookmark() Retrieves bookmark data by ID or object. get_bookmark( $bookmark, $output = OBJECT, $filter = 'raw' )...
Bookmark Hooks Reference
Filters get_bookmarks Filters the returned list of bookmarks from get_bookmarks(). apply_filters( 'get_bookmarks', array $bookmarks, array $parsed_args ) Parameters: Parameter Type...
WP_Block
Class representing a parsed instance of a block ready for rendering. Since: 5.5.0 Source: wp-includes/class-wp-block.php Description WP_Block represents a single...
Blocks API Functions
Public functions for block registration, parsing, rendering, and utilities. Block Registration register_block_type() Registers a block type. The recommended way is...
Blocks API Hooks
Actions and filters for the WordPress Blocks API. Block Registration Filters register_block_type_args Filters the arguments for registering a block type....
WP_Block_Template
Class representing a block template. Since: 5.8.0 Source: wp-includes/class-wp-block-template.php Description WP_Block_Template represents a full-page template or template part built with...
WP_Block_Templates_Registry
Core class for interacting with registered templates. Since: 6.7.0 Source: wp-includes/class-wp-block-templates-registry.php Description WP_Block_Templates_Registry is a singleton that allows plugins to...
WP_Block_Type_Registry
Core class for interacting with registered block types. Since: 5.0.0 Source: wp-includes/class-wp-block-type-registry.php Description WP_Block_Type_Registry is a singleton that stores all...
WP_Navigation_Fallback
Manages fallback behavior for Navigation menus in block themes. Since: 6.3.0 File: wp-includes/class-wp-navigation-fallback.php Overview When a block theme uses the...
Block Template Functions
Template Retrieval get_block_template() Retrieves a single unified template object by its ID. get_block_template( string $id, string $template_type = 'wp_template' ):...
Block Template Hooks
Template Query Hooks pre_get_block_templates Filters templates before the database query, allowing complete bypass of WordPress queries. apply_filters( 'pre_get_block_templates', ?WP_Block_Template[] $block_templates,...
Block Templates System
WordPress Block Templates (also known as FSE - Full Site Editing templates) are a fundamental part of block themes. They...
settings.php — Block Level Presets Support
Allows blocks to override theme preset CSS variables and classes at the block level. Source: wp-includes/block-supports/settings.php Since: 6.2.0 Support Key...
shadow.php — Shadow Block Support
Registers shadow support and applies box-shadow inline styles. Source: wp-includes/block-supports/shadow.php Since: 6.3.0 Support Key supports.shadow Registered Attributes Attribute Type Note...
spacing.php — Spacing Block Support
Handles padding and margin styles for blocks. Source: wp-includes/block-supports/spacing.php Since: 5.8.0 Note: This remains separate from dimensions.php for backwards compatibility,...
typography.php — Typography Block Support
The second-largest block support file. Handles font size (including fluid/responsive), font family, font style/weight, line height, text alignment, text columns,...
utils.php — Block Support Utility Functions
Shared utility functions used across block support files. Source: wp-includes/block-supports/utils.php Since: 6.0.0 Functions wp_should_skip_block_supports_serialization() function wp_should_skip_block_supports_serialization( WP_Block_Type $block_type, string $feature_set,...
duotone.php — Duotone Block Support
Registers duotone filter support. All logic is delegated to the WP_Duotone class. Source: wp-includes/block-supports/duotone.php Since: 5.8.0 Note: Parts of the...
WP_Block_Patterns_Registry
The WP_Block_Patterns_Registry class manages all registered block patterns in WordPress. It follows the singleton pattern, providing a centralized registry for...
Block Pattern Functions
WordPress provides wrapper functions for registering and managing block patterns and pattern categories. Pattern Functions register_block_pattern() Registers a new block...
Block Patterns Hooks
Filters and actions for customizing block pattern behavior. Filters should_load_remote_block_patterns Controls whether patterns are loaded from the WordPress.org Pattern Directory....
Block Patterns API Overview
Block patterns are predefined block layouts that users can insert into content with a single click. Introduced in WordPress 5.5,...
WP_Block_Pattern_Categories_Registry
The WP_Block_Pattern_Categories_Registry class manages pattern categories that organize block patterns in the inserter. Like its pattern counterpart, it implements the...
Block Transforms
Block transforms allow converting blocks between different types, enabling flexible content editing. Transform Types Type Description block Transform from/to another...
Block Variations
Block variations create alternative versions of a block with pre-configured attributes and settings. Basic Variation Define in block.json: { "variations":...
InnerBlocks
InnerBlocks allows blocks to contain other blocks as children, creating nested block structures. Basic Usage import { useBlockProps, InnerBlocks }...
Block Scripts and Styles
Block scripts and styles are defined in block.json and automatically registered when the block is registered. Asset Fields Overview Field...
Block Styles
Block styles provide visual variations that users can apply from the block toolbar. Defining Styles in block.json { "styles": [...
Block Supports
Block supports enable built-in WordPress features for your block. They add UI controls and automatically handle CSS generation. Basic Usage...
Block Bindings API Hooks
Filters for customizing block bindings behavior. Filters block_bindings_source_value Filters the output value of a block bindings source. apply_filters( 'block_bindings_source_value', mixed...
Block Bindings API
Framework for connecting block attributes to external data sources, allowing dynamic content override during block rendering. Since: 6.5.0 Source: wp-includes/block-bindings.php,...
WP_Block_Bindings_Registry
Singleton registry for managing block bindings sources. Source: wp-includes/class-wp-block-bindings-registry.php Since: 6.5.0 Overview The registry manages all registered block bindings sources....
WP_Block_Bindings_Source
Represents a registered block bindings source. Source: wp-includes/class-wp-block-bindings-source.php Since: 6.5.0 Access: private (internal use by registry) Overview This class is...
Block Bindings API Functions
Core functions for block bindings source registration and management. Source: wp-includes/block-bindings.php register_block_bindings_source() Registers a new block bindings source. register_block_bindings_source( string...
Application Passwords Overview
Application Passwords provide a secure way to authenticate REST API requests without exposing your main WordPress password. Introduced in WordPress...
WP_Application_Passwords Class Reference
WP_Application_Passwords is a static utility class for managing application passwords. All methods are static — no instantiation required. Since: WordPress...
Application Passwords Hooks
This document covers the action hooks available in the WP_Application_Passwords class for extending and monitoring application password functionality. Actions wp_create_application_password...
WordPress AJAX API Overview
WordPress provides a structured AJAX system through admin-ajax.php, offering a standardized way for plugins and themes to handle asynchronous requests....
WP_Ajax_Response Class
The WP_Ajax_Response class generates XML responses for AJAX requests. This is the legacy response format, primarily used by WordPress core...
WordPress AJAX Functions
Core functions for handling AJAX requests and responses. Response Functions wp_send_json() Sends a JSON response and terminates execution. File: wp-includes/functions.php...
WordPress AJAX Hooks
WordPress uses dynamic action hooks to route AJAX requests to handler functions. Primary Action Hooks wp_ajax_{action} Fires for authenticated (logged-in)...
export.php
Overview Exports content via the Tools → Export screen, including filters and file generation. Functions export_wp() — WordPress Export Administration...
file.php
Overview Filesystem helpers for uploads, file editing, and WordPress file operations. Functions get_file_description() — Filesystem API: Top-level functionality get_home_path() —...
image-edit.php
Overview Image editor (crop/rotate/scale) helpers used by the media edit UI. Functions wp_image_editor() — WordPress Image Editor wp_stream_image() — Shows...
image.php
Overview Core image handling helpers used by the media library and image processing workflows. Functions wp_crop_image() — File contains all...
import.php
Overview Importer registration and helper functions for Tools → Import. Functions get_importers() — WordPress Administration Importer API. register_importer() — Registers...
list-table.php
Overview Utility helpers for list tables (bulk actions, pagination, screen options) used across admin screens. Functions register_column_headers() — Filters the...
WP_Admin_Bar Class
Core class implementing the Toolbar API. Defined in wp-includes/class-wp-admin-bar.php. Class Definition #[AllowDynamicProperties] class WP_Admin_Bar { private $nodes = array(); private...
Admin Bar Functions
Functions for managing the WordPress admin bar, defined in wp-includes/admin-bar.php. Visibility Functions show_admin_bar() Sets the display status of the admin...
Admin Bar Hooks
Filters and actions for customizing the WordPress admin bar. Actions admin_bar_init Fires after WP_Admin_Bar is initialized. do_action( 'admin_bar_init' ); Location:...
Admin Bar API Overview
The Admin Bar (also called Toolbar) API provides a way to add, modify, and remove items from the WordPress admin...
Plugin & Theme Installation API
WordPress provides a comprehensive upgrader system for installing, updating, and managing plugins and themes. The core class is WP_Upgrader with...
Screen Options API
Screen Options provide user-configurable settings for admin screens, appearing in the collapsible panel at the top of admin pages. Core...
Settings API
The WordPress Settings API provides a standardized way to create and manage settings pages. It handles form generation, validation, sanitization,...
Update Functions API
WordPress provides APIs for checking, managing, and applying updates to core, plugins, themes, and translations. Checking for Updates Core Updates...
File Upload Handling API
WordPress provides comprehensive APIs for handling file uploads, managing the filesystem, and processing media files in the admin. Core Upload...
Image Editing API
WordPress provides a built-in image editor for cropping, rotating, flipping, and scaling images. The API can be used programmatically and...
Abilities API Hooks
Actions and filters for the Abilities API. Actions wp_abilities_api_categories_init Fires when the category registry initializes. Register categories here. do_action( 'wp_abilities_api_categories_init',...
Abilities API Functions
Core functions for ability registration and management. Source: wp-includes/abilities-api.php wp_register_ability() Registers a new ability. Must be called during wp_abilities_api_init action....
WP_Abilities_Registry
Singleton registry for managing registered abilities. Source: wp-includes/abilities-api/class-wp-abilities-registry.php Since: 6.9.0 Overview The registry is a singleton initialized during WordPress bootstrap....
WP_Ability_Categories_Registry
Singleton registry for managing ability categories. Source: wp-includes/abilities-api/class-wp-ability-categories-registry.php Since: 6.9.0 Properties Property Type Visibility Description $registered array private Map of...
WP_Ability_Category
Represents a registered ability category for grouping related abilities. Source: wp-includes/abilities-api/class-wp-ability-category.php Since: 6.9.0 Properties Property Type Visibility Description $slug string...
WP_Ability
Represents a registered ability with its configuration, callbacks, and execution logic. Source: wp-includes/abilities-api/class-wp-ability.php Since: 6.9.0 Properties Property Type Visibility Description...