Js Packages

JavaScript Packages

Core @wordpress/* JavaScript packages bundled with WordPress. Source: wp-includes/js/dist/ Packages Package Description blocks.md Block registration and serialization block-editor.md Block editor...

Updated March 4, 2026

@wordpress/scripts

Build tooling for WordPress block development. CLI Commands Run via wp-scripts (installed by @wordpress/scripts). wp-scripts start — dev build with...

Updated March 4, 2026

@wordpress/url

URL utilities for query strings and path handling. Key APIs addQueryArgs( url, args ) Adds/updates query arguments and returns a...

Updated March 4, 2026

@wordpress/i18n

Internationalization utilities for translating strings. Key APIs __( text, domain? ) Translate a string. _x( text, context, domain? ) Translate...

Updated March 4, 2026

@wordpress/blocks

Block registration and serialization utilities. Key APIs registerBlockType( name, settings ) Registers a block type. name string (namespace/block) settings object...

Updated March 4, 2026

@wordpress/components

UI component library used across WordPress admin and editor. Common Components Button Interactive button component. Common props: variant: primary |...

Updated March 4, 2026

@wordpress/data

State management for WordPress applications. Provides a registry of stores with actions, selectors, resolvers, and controls. Core Concepts Store: A...

Updated March 4, 2026

@wordpress/dom-ready

Runs a callback when the DOM is ready. API domReady( callback ) Invokes callback once the document is ready. Equivalent...

Updated March 4, 2026

@wordpress/element

React-compatible element abstraction used throughout WordPress. Core APIs createElement( type, props, ...children ) Creates a React element. Equivalent to React.createElement....

Updated March 4, 2026

@wordpress/hooks

Hook system for filters and actions in JavaScript. Filters addFilter( hookName, namespace, callback, priority? ) Registers a filter. hookName string...

Updated March 4, 2026

@wordpress/api-fetch

HTTP client for WordPress REST API with middleware support. apiFetch( options ) Performs a request and returns a Promise. options...

Updated March 4, 2026

@wordpress/block-editor

React components and hooks for building block editor UIs. Key APIs useBlockProps( props? ) Returns props required for block wrapper...

Updated March 4, 2026
← Back to Chubes.net