Project Type: WordPress Reference

WP_REST_Posts_Controller

Core class to access posts via the REST API. The most comprehensive controller, serving as the basis for many other content-type controllers. Class Synopsis class WP_REST_Posts_Controller extends WP_REST_Controller { protected...

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 Synopsis class WP_REST_Revisions_Controller extends WP_REST_Controller { private $parent_post_type; private $parent_controller;...

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 { protected $taxonomy; protected $meta; protected $sort_column; protected $total_terms; protected...

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 $allow_batch = array( 'v1' => true ); public function __construct();...

REST API Controller Hooks

Overview REST API controllers fire numerous hooks for filtering and action purposes. Most hooks include a dynamic portion based on the resource type (post type, taxonomy, etc.). Common Hook Patterns...

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 specific resource type (posts, users, comments, terms, etc.) and provides...

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. wp_recovery_mode(): WP_Recovery_Mode Returns: The singleton WP_Recovery_Mode instance. Example: if (...

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 a recovery mode key is generated. do_action( 'generate_recovery_mode_key', string $token,...

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-includes/class-wp-recovery-mode.php, wp-includes/error-protection.php Components Component Description functions.md Core helper functions for...

WP_REST_Attachments_Controller

Core controller used to access attachments (media) via the REST API. Extends WP_REST_Posts_Controller with media-specific functionality. Class Synopsis class WP_REST_Attachments_Controller extends WP_REST_Posts_Controller { protected $allow_batch = false; public function register_routes();...

← Back to Chubes.net