Project Type: WordPress Reference

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/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 GET Parameter Type Required Default Description context string false view...

`/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, PATCH, DELETE Request Parameters Collection GET Parameter Type Required Default...

WP_Rewrite Class

Core class implementing the WordPress rewrite component API. Handles permalink structures, rewrite rules, and URL pattern matching. class WP_Rewrite { // ... } Overview The WP_Rewrite class: Writes mod_rewrite rules...

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 a set of query vars. add_rewrite_rule( string $regex,...

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', array( &$wp_rewrite ) ) Parameters: $wp_rewrite (WP_Rewrite) - Current 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 permalinks" and allows plugins/themes to create custom URL structures. Core...

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 — True if requesting robots.txt Usage: if ( is_robots() ) {...

`/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 Parameters Collection GET Parameter Type Required Default Description context string...

`/wp/v2/themes`

Namespace: wp/v2 Route: /wp/v2/themes Routes Collection: /wp/v2/themes Single: /wp/v2/themes/{stylesheet} HTTP Methods Collection methods: GET Single methods: GET Request Parameters Collection GET Parameter Type Required Default Description status array false Limit...

← Back to Chubes.net