Project Type: WordPress Reference

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.php Components Component Description functions.md Core enqueue/register functions class-wp-scripts.md Script...

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 $tag, callable $callback ) Parameters: $tag (string) — Shortcode tag...

WordPress Shortcodes API Hooks

Filters and actions available in the WordPress Shortcodes API. Filters pre_do_shortcode_tag Short-circuits shortcode processing before the callback is called. apply_filters( 'pre_do_shortcode_tag', false|string $output, string $tag, array $attr, array $m )...

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 insert into content using bracket notation. The parser is based...

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.php Properties private $site_health; // WP_Site_Health instance Namespace: wp-site-health/v1 Base: tests Constructor public function __construct( WP_Site_Health $site_health ) Receives...

Script Modules Functions

Global functions for registering and managing script modules. Source: wp-includes/script-modules.php wp_script_modules() Retrieves the main WP_Script_Modules instance. function wp_script_modules(): WP_Script_Modules Since: 6.5.0 Description Provides access to the singleton WP_Script_Modules instance, creating...

Script Modules Hooks

Actions and filters for customizing script module behavior. Source: wp-includes/class-wp-script-modules.php Filters script_module_loader_src Filters the script module source URL. apply_filters( 'script_module_loader_src', string $src, string $id ) Since: 6.5.0 Parameters Parameter Type...

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.php Components Component Description functions.md Core registration and enqueue functions class-wp-script-modules.md Script modules registry class hooks.md...

WP_Dependencies

Base class for managing dependencies. Extended by WP_Scripts and WP_Styles. Source: wp-includes/class-wp-dependencies.php Since: 2.6.0 Properties Public Properties Property Type Since Description $registered _WP_Dependency[] 2.6.8 All registered items keyed by handle...

WP_Scripts

Core class for registering and outputting JavaScript files. Source: wp-includes/class-wp-scripts.php Since: 2.1.0 Extends: WP_Dependencies Properties Public Properties Property Type Since Description $base_url string 2.6.0 Base URL for scripts (trailing slash)...

← Back to Chubes.net