WordPress Core
WordPress Core HTTP Streaming Analysis
Full Call Chainwp_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 │ ├─ apply_filters('pre_http_request')...
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...
WpOrgRequestsTransportCurl & WpOrgRequestsTransport (Interface)
cURL-based HTTP transport with support for single and parallel (multi-handle) requests. Source: wp-includes/Requests/src/Transport/Curl.php, wp-includes/Requests/src/Transport.php Namespace: WpOrgRequestsTransport Implements: WpOrgRequestsTransport Declared: final...
WpOrgRequestsTransportFsockopen
Socket-based HTTP transport using stream_socket_client(). Serves as the fallback when cURL is unavailable. Source: wp-includes/Requests/src/Transport/Fsockopen.php Namespace: WpOrgRequestsTransport Implements: WpOrgRequestsTransport Declared:...
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...
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_Paused_Extensions_Storage
Storage class for managing paused plugins and themes during recovery mode. Source: wp-includes/class-wp-paused-extensions-storage.php Since: 5.2.0 Properties Property Type Visibility Description...
WP_Recovery_Mode_Cookie_Service
Service class for setting, validating, and clearing recovery mode cookies. Source: wp-includes/class-wp-recovery-mode-cookie-service.php Since: 5.2.0 Cookie Format The cookie is base64...
WP_Recovery_Mode_Email_Service
Service class for sending recovery mode notification emails with rate limiting. Source: wp-includes/class-wp-recovery-mode-email-service.php Since: 5.2.0 Constants Constant Value Description RATE_LIMIT_OPTION...
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...
WordPress Query API
The Query API is the backbone of WordPress content retrieval, powering The Loop and determining what content displays on every...
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...
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...
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 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 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...
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...
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...
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...
MO
Reads and writes MO (Machine Object) binary translation files — the compiled format used by gettext at runtime. Source: wp-includes/pomo/mo.php...
NOOP_Translations
Provides the same interface as Translations but performs no actual translation. All lookups return the original string. Used as a...
Plural_Forms
A gettext Plural-Forms expression parser and evaluator. Converts C-like plural expressions (e.g., n != 1, n%10==1 && n%100!=11 ? 0...
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,...
WordPress Plugin Functions
Core functions for plugin management, URLs, lifecycle hooks, and utilities. Plugin Path & URL Functions plugin_basename( $file ) Extracts the...
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...
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...
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...
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...
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 Functions Reference
Complete reference for all WordPress Multisite API functions. Site Retrieval Functions get_site() Retrieves site data given a site ID or...
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...
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...
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.,...
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 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...
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/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/element
React-compatible element abstraction used throughout WordPress. Core APIs createElement( type, props, ...children ) Creates a React element. Equivalent to React.createElement....
@wordpress/hooks
Hook system for filters and actions in JavaScript. Filters addFilter( hookName, namespace, callback, priority? ) Registers a filter. hookName string...
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_Textdomain_Registry
Registry for managing translation file locations. Source: wp-includes/class-wp-textdomain-registry.php Since: 6.1.0 Overview The WP_Textdomain_Registry class manages the mapping between text domains...
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_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...
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...
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...
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(...
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_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...
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_Requests_Hooks
Source: wp-includes/class-wp-http-requests-hooks.php Since: 4.7.0 Extends: WpOrgRequestsHooks Purpose Bridge between the Requests library's internal hook system and WordPress's action/filter system. Every...
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...
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...
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_Processor
Full HTML5 parser with tree construction, extending WP_HTML_Tag_Processor. Source: wp-includes/html-api/class-wp-html-processor.php Since: 6.4.0 Extends: WP_HTML_Tag_Processor Constants Bookmarks Constant Value Description MAX_BOOKMARKS...
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...
Common Hooks
Categorized reference of frequently-used WordPress action and filter hooks. Initialization Actions Core Bootstrap Hook When it Fires Typical Use muplugins_loaded...
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 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_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...
WP_Font_Library
Singleton registry for font collections. Since: 6.5.0 Source: wp-includes/fonts/class-wp-font-library.php Description The Font Library manages the registration and retrieval of font...
WP_Font_Utils
Utility functions for working with fonts. Since: 6.5.0 Source: wp-includes/fonts/class-wp-font-utils.php Access: Private (internal core usage) Description Provides utility functions for...
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...
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...
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_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...
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...
Embeds / oEmbed API
Framework for embedding rich media content from URLs, both consuming external oEmbed providers and serving WordPress content as embeddable. Since:...
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...
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...
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...
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...
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...
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...
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...
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,...
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_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...
wp_term_taxonomy
Links terms to their taxonomies and stores taxonomy-specific data. Each term can appear in multiple taxonomies. Schema Column Type Null...
wp_termmeta
Key-value storage for term metadata. Added in WordPress 4.4 to extend terms with custom data. Schema Column Type Null Default...
wp_terms
Stores the basic term data (name and slug) for categories, tags, and custom taxonomies. Schema Column Type Null Default Description...
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,...
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_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...
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 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:...
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...
Theme Control
WP_Customize_Theme_Control Control for displaying a theme in the Customizer's theme browser. Handles active, installed, and remote (wporg) themes with update...
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...
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...
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...
Theme Blocks
Site structure, query loop, and post content blocks. Site Blocks core/site-title Site title from Settings. Attributes: level (integer) — Heading...
Widget Blocks
Dynamic content blocks for sidebars and widgets. core/archives Post archives list by date. Attributes: displayAsDropdown (boolean) — Display as dropdown...
Design Blocks
Layout, structure, and design blocks. core/group Generic container block. Attributes: tagName (string) — HTML tag (div, main, section, article, aside,...
Embed Blocks
External content embedding via oEmbed. core/embed Universal embed block with provider variations. Attributes: url (string) — Content URL caption (rich-text)...
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...
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...
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...
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...
Cache Hooks
Actions and filters related to the WordPress Object Cache. Source: Various WordPress core files Overview The Object Cache API itself...
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...
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:...
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...
WordPress Bookmarks/Links Manager
Overview The WordPress Bookmarks API (also known as Links Manager) is a legacy feature that was included in WordPress for...
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_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_Block_Type
Core class representing a block type definition. Since: 5.0.0 Source: wp-includes/class-wp-block-type.php Description WP_Block_Type defines a registered block type with its...
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...
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...
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...
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,...
generated-classname.php — Generated Class Name Block Support
Generates the default wp-block-{name} CSS class for server-rendered blocks. Source: wp-includes/block-supports/generated-classname.php Since: 5.6.0 Support Key supports.className — defaults to true....
layout.php — Layout Block Support
The largest and most complex block support. Handles layout types (flow, constrained, flex, grid), gap/spacing styles, child layout positioning, and...
position.php — Position Block Support
Handles sticky and fixed positioning for blocks. Source: wp-includes/block-supports/position.php Since: 6.2.0 Support Key supports.position Position types are gated by global...
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...
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 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 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":...
Dynamic Blocks
Dynamic blocks render on the server at page load time, allowing blocks to display current data like posts, user info,...
Block Hooks (Hooked Blocks)
Block hooks automatically insert blocks at specified positions relative to other blocks, without modifying templates directly. Basic Usage In block.json:...
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...
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...
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...
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...
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)...
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...
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...
dashboard.php
Overview Dashboard widgets, feeds, and screen logic for the main WP admin dashboard. Functions wp_dashboard_setup() — WordPress Dashboard Widget Administration...
deprecated.php
Overview Deprecated admin functions and shims kept for backward compatibility. Classes WP_User_Search — Deprecated admin functions from past WordPress versions....
export.php
Overview Exports content via the Tools → Export screen, including filters and file generation. Functions export_wp() — WordPress Export Administration...
Admin Bar API Overview
The Admin Bar (also called Toolbar) API provides a way to add, modify, and remove items from the WordPress admin...
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:...
Meta Boxes API
Meta boxes are draggable content boxes that appear on edit screens in WordPress admin. They're used for custom fields, taxonomies,...
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...
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',...
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...
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....
Abilities API
Framework for registering and executing discrete capabilities within WordPress. Since: 6.9.0 Source: wp-includes/abilities-api.php, wp-includes/abilities-api/ Components Component Description functions.md Core registration...
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...
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 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...
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....
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 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_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...
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/v2/block-patterns`
Namespace: wp/v2 Route: /wp/v2/block-patterns Routes Collection: /wp/v2/block-patterns Single: /wp/v2/block-patterns/{namespace}/{name} HTTP Methods Collection methods: Unknown Single methods: GET, POST, PUT, PATCH,...
`/wp/v2/block-types`
Namespace: wp/v2 Route: /wp/v2/block-types Routes Collection: /wp/v2/block-types Single: /wp/v2/block-types/{namespace}/{name} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection...
`/wp/v2/blocks`
Namespace: wp/v2 Route: /wp/v2/blocks Routes Collection: /wp/v2/blocks Single: /wp/v2/blocks/{id} HTTP Methods Collection methods: Unknown Single methods: GET, POST, PUT, PATCH,...
`/wp/v2/media`
Namespace: wp/v2 Route: /wp/v2/media Routes Collection: /wp/v2/media Single: /wp/v2/media/{id} HTTP Methods Collection methods: GET, POST Single methods: GET, POST, PUT,...
`/wp/v2/menu-items`
Namespace: wp/v2 Route: /wp/v2/menu-items Routes Collection: /wp/v2/menu-items Single: /wp/v2/menu-items/{id} HTTP Methods Collection methods: Unknown Single methods: GET, POST, PUT, PATCH,...
`/wp/v2/menu-locations`
Namespace: wp/v2 Route: /wp/v2/menu-locations Routes Collection: /wp/v2/menu-locations Single: /wp/v2/menu-locations/{location} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection...
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 structure to...
WordPress Rewrite Hooks
Filters and actions for customizing URL rewriting and permalink generation.Actionsgenerate_rewrite_rulesFires after rewrite rules are generated.do_action_ref_array( 'generate_rewrite_rules', array( &$wp_rewrite ) )Parameters:$wp_rewrite...
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...
Robots Functions
Conditional Functionsis_robots()Determines whether the query is for the robots.txt file.function is_robots(): boolSince: 2.1.0Returns: bool — True if requesting robots.txtUsage:if (...
Robots Hooks
Filterswp_robotsFilters the directives to be included in the robots meta tag.apply_filters( 'wp_robots', array $robots ): arraySince: 5.7.0Parameters:$robots — Associative array...
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-includes/query.phpComponentsComponentDescriptionfunctions.mdCore...
wp-login.php
PurposeHandles authentication-related flows: login, logout, registration, password reset, and admin email confirmation.FlowLoads WordPress via wp-load.php and enforces SSL if required.Determines...
index.php
PurposeEntry point for front-end requests. It only defines WP_USE_THEMES and hands off execution to wp-blog-header.php.FlowDefines WP_USE_THEMES as true to signal...
Root Files
Entry point files in the WordPress root directory.Source: WordPress installation rootBootstrapFileDescriptionindex.php.mdFront controller entry pointwp-load.php.mdEnvironment loaderwp-blog-header.php.mdTemplate loaderwp-settings.php.mdCore initializationwp-config.php.mdSite configurationwp-config-sample.php.mdConfig templateAuthenticationFileDescriptionwp-login.php.mdLogin/logout handlingwp-signup.php.mdMultisite...
wp-activate.php
PurposeMultisite activation endpoint. Validates signup activation keys and completes user/site activation.FlowDefines WP_INSTALLING and loads WordPress + front-end header.Requires multisite; otherwise...
wp-blog-header.php
PurposeLoads the WordPress environment and runs the front-end request lifecycle (query + template).FlowEnsures it only runs once via $wp_did_header guard.Requires...
wp-config.php
PurposeSite-specific configuration for WordPress. Defines database credentials, salts, table prefix, debug/config constants, and then loads wp-settings.php.FlowDefines core constants (e.g., cache,...
WP_Script_Modules Class
Core class for registering and managing script modules.Since: 6.5.0 Source: wp-includes/class-wp-script-modules.phpPropertiesPrivate PropertiesPropertyTypeDescription$registeredarray<string, array>Registered script modules, keyed by ID$queuestring[]IDs of enqueued...
Script Modules Functions
Global functions for registering and managing script modules.Source: wp-includes/script-modules.phpwp_script_modules()Retrieves the main WP_Script_Modules instance.function wp_script_modules(): WP_Script_ModulesSince: 6.5.0DescriptionProvides access to the singleton...
Script Modules Hooks
Actions and filters for customizing script module behavior.Source: wp-includes/class-wp-script-modules.phpFiltersscript_module_loader_srcFilters the script module source URL.apply_filters( 'script_module_loader_src', string $src, string $id )Since:...
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.phpComponentsComponentDescriptionfunctions.mdCore registration and enqueue functionsclass-wp-script-modules.mdScript modules registry...
WP_Dependencies
Base class for managing dependencies. Extended by WP_Scripts and WP_Styles.Source: wp-includes/class-wp-dependencies.php Since: 2.6.0PropertiesPublic PropertiesPropertyTypeSinceDescription$registered_WP_Dependency[]2.6.8All registered items keyed by handle$queuestring[]2.6.8Handles of...
WP_Scripts
Core class for registering and outputting JavaScript files.Source: wp-includes/class-wp-scripts.php Since: 2.1.0 Extends: WP_DependenciesPropertiesPublic PropertiesPropertyTypeSinceDescription$base_urlstring2.6.0Base URL for scripts (trailing slash)$content_urlstring2.8.0URL of...
WP_Styles
Core class for registering and outputting CSS stylesheets.Source: wp-includes/class-wp-styles.php Since: 2.6.0 Extends: WP_DependenciesPropertiesPublic PropertiesPropertyTypeSinceDescription$base_urlstring2.6.0Base URL for styles (trailing slash)$content_urlstring2.8.0URL of...
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.phpScript Functionswp_scripts()Initializes and returns the global WP_Scripts instance.wp_scripts(): WP_ScriptsSince: 4.2.0Returns:...
Scripts & Styles Hooks
Actions and filters for the WordPress scripts and styles system.Actionswp_enqueue_scriptsPrimary hook for enqueueing front-end scripts and styles.do_action( 'wp_enqueue_scripts' );Since: 2.8.0...
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-includes/functions.wp-styles.phpComponentsComponentDescriptionfunctions.mdCore...
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.Filterspre_do_shortcode_tagShort-circuits shortcode processing before the callback is called.apply_filters( 'pre_do_shortcode_tag', false|string $output, string...
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...
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.phpPropertiesprivate $site_health; // WP_Site_Health instanceNamespace: wp-site-health/v1 Base: testsConstructorpublic function __construct(...
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.phpConstructorRequires wp-admin/includes/class-wp-upgrader.php.Methodsrun_tests()Executes all auto-update tests and returns results.public function run_tests(): arrayReturns: Array...
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.phpPropertiesprivate static $instance = null; // Database info...
Site Health & Transients Hooks
Actions and filters for Site Health and Transients APIs.Transient HooksActionsdelete_transient_{$transient}Fires before a specific transient is deleted.do_action( "delete_transient_{$transient}", string $transient )Since:...
Site Health & Transients API
WordPress Site Health provides diagnostic tests and debugging info. Transients offer temporary cached data storage with automatic expiration.Since: Site Health...
Transients API
Temporary data storage with automatic expiration. Uses database or object cache.Since: 2.8.0 Source: wp-includes/option.phpCore Functionsget_transient()Retrieves a transient value.function get_transient( string...
WP_Sitemaps_Provider
Abstract base class for sitemap providers.Source: wp-includes/sitemaps/class-wp-sitemaps-provider.php Since: 5.5.0OverviewBase class that all sitemap providers must extend. Provides shared functionality for...
WP_Sitemaps_Registry
Registry for managing sitemap providers.Source: wp-includes/sitemaps/class-wp-sitemaps-registry.php Since: 5.5.0OverviewManages registration and retrieval of sitemap providers. Accessed via WP_Sitemaps::$registry.PropertiesPropertyTypeVisibilityDescription$providersWP_Sitemaps_Provider[]privateRegistered providers keyed by...
WP_Sitemaps
Main sitemap controller integrating all sitemap components.Source: wp-includes/sitemaps/class-wp-sitemaps.php Since: 5.5.0OverviewThe main class that orchestrates sitemap functionality including provider registration, rewrite...
Sitemaps API Functions
Core functions for sitemap management and registration.Source: wp-includes/sitemaps.phpwp_sitemaps_get_server()Retrieves the current Sitemaps server instance.wp_sitemaps_get_server(): WP_SitemapsReturnsWP_Sitemaps instance.NotesBootstraps the sitemaps system if not...
Sitemaps API Hooks
Actions and filters for the Sitemaps API.Actionswp_sitemaps_initFires when initializing the Sitemaps object. Register additional providers here.do_action( 'wp_sitemaps_init', WP_Sitemaps $wp_sitemaps )ParameterTypeDescription$wp_sitemapsWP_SitemapsSitemaps...
Sitemaps API
Framework for generating XML sitemaps in WordPress.Since: 5.5.0 Source: wp-includes/sitemaps.php, wp-includes/sitemaps/ComponentsComponentDescriptionfunctions.mdCore retrieval and registration functionsclass-wp-sitemaps.mdMain sitemap controllerclass-wp-sitemaps-provider.mdAbstract base provider classclass-wp-sitemaps-registry.mdProvider...
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.0PropertiesPropertyTypeVisibilityDescription$declarationsarrayprotectedCSS declarations as property => value pairsMethods__construct()Creates...
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.0PropertiesPropertyTypeVisibilityDescription$selectorstringprotectedCSS selector$declarationsWP_Style_Engine_CSS_DeclarationsprotectedDeclarations object$rules_groupstringprotectedParent selector...
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.0PropertiesPropertyTypeVisibilityDescription$storesarrayprotectedCollection of WP_Style_Engine_CSS_Rules_Store objects$css_rulesarrayprotectedSet of WP_Style_Engine_CSS_Rule...
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: Private...
Style Engine Functions
Public API functions for generating and compiling CSS styles.Source: wp-includes/style-engine.phpwp_style_engine_get_styles()Generates styles from a block style object (e.g., block attributes or...
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/ComponentsComponentDescriptionfunctions.mdPublic API functionsclass-wp-style-engine.mdCore parsing...
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.0Class Declaration#[AllowDynamicProperties] final class...
Taxonomy API Hooks
Actions and filters for the Taxonomy API.Taxonomy Registrationregistered_taxonomyFires after a taxonomy is registered.do_action( 'registered_taxonomy', string $taxonomy, array|string $object_type, array $args...
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.phpComponentsComponentDescriptionfunctions.mdCore registration,...
WP_Term_Query
Class used for querying terms from the database.Source: wp-includes/class-wp-term-query.php Since: 4.6.0Class Declaration#[AllowDynamicProperties] class WP_Term_QueryPropertiesPropertyTypeVisibilityDescription$requeststringpublicSQL string used to perform database query$meta_queryWP_Meta_Query|falsepublicMetadata...
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.0Class Declaration#[AllowDynamicProperties] final class WP_TermPropertiesPropertyTypeVisibilityDescription$term_idintpublicTerm...
Taxonomy API Functions
Core functions for taxonomy and term registration, retrieval, and management.Source: wp-includes/taxonomy.phpTaxonomy Registrationregister_taxonomy()Creates or modifies a taxonomy object.register_taxonomy( string $taxonomy, array|string...
Template Tag Functions
Template Part Functionsget_header()Loads the header template file.function get_header( $name = null, $args = array() )Parameters:$name (string|null): Specialized header name. For...
Template Tag Hooks
Template tags provide extensive hooks for customization. This documents the key actions and filters available.Template Loading HooksAction: get_headerFires before the...
Template Tags System
Template tags are WordPress functions designed for use in theme template files. They output dynamic content, generate HTML markup, and...
Layout Settings
Complete reference for settings.layout in theme.json.Overview{ "settings": { "layout": { "contentSize": "650px", "wideSize": "1200px", "allowEditing": true, "allowCustomContentAndWideSize": true } }...
Other Settings
Complete reference for border, shadow, dimensions, position, background, appearance tools, custom properties, and other settings.appearanceToolsMeta-setting that enables multiple design tools...
Spacing Settings
Complete reference for settings.spacing in theme.json.Overview{ "settings": { "spacing": { "blockGap": null, "customSpacingSize": true, "defaultSpacingSizes": true, "margin": false, "padding": false,...
Typography Settings
Complete reference for settings.typography in theme.json.Overview{ "settings": { "typography": { "customFontSize": true, "defaultFontSizes": true, "dropCap": true, "fluid": false, "fontFamilies": [],...
Styles Configuration
Complete reference for styles in theme.json.OverviewThe styles section defines CSS styling rules that WordPress applies globally and per-block.{ "styles": {...
Template Parts
Complete reference for templateParts in theme.json.OverviewThe templateParts array registers reusable template sections like headers, footers, and sidebars.{ "templateParts": [ {...
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 ClassEncapsulates...
WP_Theme Class Reference
The WP_Theme class encapsulates theme data and provides methods for accessing theme information, files, and configuration.Class Overviewfinal class WP_Theme implements...
WordPress Theme Functions Reference
Complete reference for WordPress theme-related functions.Theme Information Functionswp_get_theme()Gets a WP_Theme object for a theme.wp_get_theme( string $stylesheet = '', string $theme_root...
WordPress Theme Hooks Reference
Complete reference for theme-related action hooks and filters.Template Loading Actionstemplate_redirectFires before determining which template to load.do_action( 'template_redirect' );Use Cases:Redirects based...
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...
Update Hooks
Source: wp-includes/update.phpFilterscore_version_check_localeFilters the locale requested for WordPress core translations.apply_filters( 'core_version_check_locale', string $locale )Parameters:$locale (string) - Current locale from get_locale()Returns: string...
Update Functions
Source: wp-includes/update.phpCore Update Functionswp_version_check()Checks WordPress version against the newest version available on WordPress.org.wp_version_check( array $extra_stats = array(), bool $force_check =...
WordPress Update System
Source: wp-includes/update.php Since: WordPress 2.3.0PurposeThe Update system checks for available updates to WordPress core, plugins, and themes by querying the...
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-*.phpComponentsComponentDescriptionfunctions.mdUser CRUD, authentication, meta, and utility functionsclass-wp-user.mdIndividual...
WP_Role Class
Core class representing a single user role with its capabilities.Since: 2.0.0 Source: wp-includes/class-wp-role.phpOverviewWP_Role represents an individual role (e.g., "editor", "subscriber")...
WP_Roles Class
Core class for managing all user roles and their capabilities.Since: 2.0.0 Source: wp-includes/class-wp-roles.phpOverviewWP_Roles is a singleton-like registry that manages all...
WP_User_Query Class
Core class for querying users with flexible filtering, sorting, and pagination.Since: 3.1.0 Source: wp-includes/class-wp-user-query.phpOverviewWP_User_Query provides a powerful interface for retrieving...
WP_User Class
Core class representing a WordPress user with their data and capabilities.Since: 2.0.0 Source: wp-includes/class-wp-user.phpOverviewWP_User represents an individual user with their...
User Functions
Core functions for user management, authentication, metadata, and utilities.Source: wp-includes/user.php, wp-includes/capabilities.php, wp-includes/pluggable.phpUser Retrievalget_user()Retrieves user by ID.get_user( int $user_id ): WP_User|falseSince:...
WP_Duotone
Manages duotone block supports and global styles.Source: wp-includes/class-wp-duotone.php Since: 6.3.0 Access: Private/InternalOverviewDuotone applies a two-color gradient effect to images using...
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.0PropertiesPropertyTypeVisibilityDescription$inputarrayprivateOriginal input array$outputarrayprivateCurrent output array (after operations)$orderbystring[]privateTemporary...
WP_Session_Tokens
Abstract class for managing user session tokens.Source: wp-includes/class-wp-session-tokens.php Since: 4.0.0OverviewWordPress uses session tokens to track authenticated user sessions. Each login...
Utility Hooks
Actions and filters for WordPress utility classes.Session Token Hookssession_token_managerFilters the session token manager class.apply_filters( 'session_token_manager', string $manager )ParameterTypeDefaultDescription$managerstring'WP_User_Meta_Session_Tokens'Class name for...
Speculative Loading
Prefetch and prerender API using the Speculation Rules API.Source: wp-includes/speculative-loading.php Since: 6.8.0OverviewSpeculative loading allows browsers to prefetch or prerender pages...
Utility Classes
Core utility classes for common operations in WordPress.Source: wp-includes/ComponentsComponentDescriptionclass-wp-list-util.mdArray/object list operations (filter, pluck, sort)class-wp-session-tokens.mdUser session token managementclass-wp-duotone.mdDuotone color filter SVG...
Walker Hooks
Filters available in WordPress Walker classes.Category Walkerslist_catsFilters the category name for display.apply_filters( 'list_cats', string $cat_name, WP_Term $category )ParameterTypeDescription$cat_namestringCategory name (already...
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-*.phpComponentsComponentDescriptionclass-wp-walker.mdBase abstract Walker classclass-walker-category.mdHTML list of categoriesclass-walker-category-dropdown.mdCategory dropdown...
Walker_CategoryDropdown
Creates an HTML dropdown (<option> elements) for categories.Since: 2.1.0 Source: wp-includes/class-walker-category-dropdown.php Used by: wp_dropdown_categories()Class Synopsisclass Walker_CategoryDropdown extends Walker { public...
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 Synopsisclass Walker_Category extends Walker { public $tree_type =...
Walker (Base Class)
Abstract class for displaying hierarchical tree structures.Since: 2.1.0 Source: wp-includes/class-wp-walker.phpClass Synopsis#[AllowDynamicProperties] class Walker { // Properties public string $tree_type; public...
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 Synopsisclass Walker_Comment extends Walker { public $tree_type...
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_factoryClass Synopsis#[AllowDynamicProperties] class WP_Widget_Factory { // Properties public $widgets...
WP_Widget
Base class for creating widgets. Must be extended.Source: wp-includes/class-wp-widget.php Since: 2.8.0Class Synopsis#[AllowDynamicProperties] class WP_Widget { // Properties public $id_base; public...
Widget Functions
Core functions for registering and managing widgets and sidebars.Source: wp-includes/widgets.phpWidget Registrationregister_widget()Registers a widget class with WordPress.register_widget( string|WP_Widget $widget ): voidParameters:$widget...
Widget Hooks
Actions and filters for the Widgets API.Source: wp-includes/widgets.php, wp-includes/class-wp-widget.phpActionswidgets_initFires after all default WordPress widgets have been registered.do_action( 'widgets_init' )When: During...
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/ComponentsComponentDescriptionfunctions.mdCore widget and sidebar functionsclass-wp-widget.mdBase...
Posts (Post Type: post)
edit.php (Posts list)URL: /wp-admin/edit.phpCapability required: $post_type_object->cap->edit_posts (typically edit_posts).What it does: Lists posts for the post post type, handles bulk actions...
Settings
options.php (Settings handler)URL: /wp-admin/options.phpCapability required: Varies by option page; uses option_page_capability_{$option_page} filter and checks manage_network_options on multisite.What it does: Processes...
Themes
themes.phpURL: /wp-admin/themes.phpCapability required: switch_themes or edit_theme_options (and related caps like install_themes, delete_themes, update_themes).What it does: Displays installed themes, handles theme...
Tools
tools.phpURL: /wp-admin/tools.phpCapability required: Varies by tool; base page is available to admins. Import section requires import; category/tag conversion requires term...
Users
users.phpURL: /wp-admin/users.phpCapability required: list_users (and related caps like edit_users, delete_users, promote_users, remove_users).What it does: Lists users, handles bulk actions (delete,...
Admin Pages
WordPress admin (wp-admin/) page files.Source: wp-admin/*.phpPage CategoriesCategoryDescriptioncore.mdDashboard, profile, aboutposts.mdPost management screenspages.mdPage management screensmedia.mdMedia library screenscomments.mdComment managementthemes.mdTheme managementplugins.mdPlugin managementusers.mdUser managementtools.mdTools screenssettings.mdSettings...
Update Settings
WordPress provides granular control over automatic updates for core, plugins, themes, and translations.Core Update ConstantsWP_AUTO_UPDATE_COREdefine( 'WP_AUTO_UPDATE_CORE', true );Type: Boolean or...
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...
Database Settings
WordPress requires a MySQL or MariaDB database. These constants configure the database connection.Required ConstantsDB_NAMEdefine( 'DB_NAME', 'wordpress' );Required: YesType: StringPurpose: Name...
Debug Settings
WordPress provides extensive debugging options for development and troubleshooting. These should be disabled in production.Primary Debug ConstantsWP_DEBUGdefine( 'WP_DEBUG', true );Type:...
Multisite Settings
WordPress Multisite (formerly WPMU) allows running multiple sites from a single WordPress installation. These constants configure and control the network.Enabling...
Path Settings
WordPress allows customization of directory locations and URLs through constants. These are useful for non-standard installations, security, or organizational preferences.Site...
WordPress XML-RPC Hooks Reference
All hooks available in the WordPress XML-RPC server implementation.Filtersxmlrpc_enabledControls whether XML-RPC methods requiring authentication are enabled.add_filter( 'xmlrpc_enabled', function( bool $is_enabled...
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.0WordPress XMLRPC server implementation providing compatibility for Blogger API, MetaWeblog API, MovableType, pingback, and WordPress-native methods.Class Declaration#[AllowDynamicProperties]...
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_CompatPurposeLoaded by get_footer() when the...
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_CompatPurposeLoaded by get_header( 'embed' ) when...
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_CompatPurposeLoaded by get_header() when the...
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_CompatPurposeLoaded by get_sidebar() when the...
Theme Compat — Fallback Templates
Overview of the WordPress core theme-compat subsystem.Source: wp-includes/theme-compat/PurposeThe theme-compat directory provides fallback template files used when the active theme does...
comments.php
Fallback comments template for themes that do not provide their own.Source: wp-includes/theme-compat/comments.php Deprecated: 3.0.0 Subpackage: Theme_CompatPurposeLoaded by comments_template() when the...