Project Type: WordPress Reference

wp-comments-post.php

Purpose Processes comment submissions and prevents duplicate/invalid posts. Flow Requires a POST request; otherwise returns 405. Loads WordPress and disables cache headers. Calls wp_handle_comment_submission() to validate and insert. Fires cookie-setting...

wp-config-sample.php

Purpose Template configuration file used during installation. Provides placeholder constants and structure for creating a real wp-config.php. Flow Defines placeholder DB constants and authentication salts. Sets $table_prefix and WP_DEBUG defaults....

wp-config.php

Purpose Site-specific configuration for WordPress. Defines database credentials, salts, table prefix, debug/config constants, and then loads wp-settings.php. Flow Defines core constants (e.g., cache, DB settings, debug flags, filesystem, cron, caching)....

wp-cron.php

Purpose Runs scheduled tasks (WP-Cron) when triggered via web requests or server cron. Flow Sets no-cache headers and finishes the client response early when possible. Ensures it is not running...

wp-links-opml.php

Purpose Exports the Links/Bookmarks catalog as OPML XML. Flow Loads WordPress. Determines link category filter from query string. Outputs OPML header and iterates link categories. Outputs bookmark outlines for each...

Robots Hooks

Filters wp_robots Filters the directives to be included in the robots meta tag. apply_filters( 'wp_robots', array $robots ): array Since: 5.7.0 Parameters: $robots — Associative array where keys are directive...

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.php Components Component Description functions.md Core robots functions hooks.md Actions...

index.php

Purpose Entry point for front-end requests. It only defines WP_USE_THEMES and hands off execution to wp-blog-header.php. Flow Defines WP_USE_THEMES as true to signal that the theme should render. Requires wp-blog-header.php...

Root Files

Entry point files in the WordPress root directory. Source: WordPress installation root Bootstrap File Description index.php.md Front controller entry point wp-load.php.md Environment loader wp-blog-header.php.md Template loader wp-settings.php.md Core initialization wp-config.php.md...

wp-activate.php

Purpose Multisite activation endpoint. Validates signup activation keys and completes user/site activation. Flow Defines WP_INSTALLING and loads WordPress + front-end header. Requires multisite; otherwise redirects to registration. Reads activation key...

← Back to Chubes.net