Performs basic database operations using credentials stored in wp-config.php. Subcommands Command Description wp db check Checks the current status of the database. wp db clean Removes all tables with $table_prefix...
Adds, removes, fetches, and flushes the WP Object Cache object. By default, the WP Object Cache exists in PHP memory for the length of the request (and is emptied at...
Adds, removes, and lists capabilities of a user role. See references for Roles and Capabilities and WP User class. Subcommands Command Description wp cap add Adds capabilities to a given...
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. Class Declaration #[AllowDynamicProperties] class wp_xmlrpc_server extends IXR_Server Properties $methods public...
All hooks available in the WordPress XML-RPC server implementation. Filters xmlrpc_enabled Controls whether XML-RPC methods requiring authentication are enabled. add_filter( 'xmlrpc_enabled', function( bool $is_enabled ): bool { return false; //...
WordPress provides XML-RPC functionality for remote publishing and content management. This API allows external applications to interact with WordPress for creating, editing, and managing content. Architecture Core Components Source File:...
WordPress allows customization of directory locations and URLs through constants. These are useful for non-standard installations, security, or organizational preferences. Site URL Constants WP_SITEURL define( 'WP_SITEURL', 'https://example.com' ); Type: String...
WordPress provides several constants to control memory usage, caching, cron behavior, and script handling for optimal performance. Memory Limits WP_MEMORY_LIMIT define( 'WP_MEMORY_LIMIT', '256M' ); Type: String Default: 40M (single site),...
WordPress security constants protect your site through authentication tokens, file access controls, and SSL/HTTPS enforcement. Security Keys and Salts Security keys are used to encrypt information stored in cookies. Each...
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 ); Type: Boolean or String Default: minor (since WordPress 3.7)...