OtherActive

WordPress Code Reference

Official WordPress developer reference documenting core PHP functions, hooks, and APIs.

Open source page

Field note

What it does

Official WordPress developer reference documenting core PHP functions, hooks, and APIs.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

A quick overview of the registration functions

An example collection and icon

antispambot()

Obscures email addresses in HTML to prevent spam bots from harvesting them.

API Reference

Index of WordPress core API documentation sections.

API Reference Sections

Covers Dashboard widgets, Database, HTTP API, Filesystem, Global Variables, Metadata, Options, Plugins, Quicktags, REST API, Rewrite, Settings, Shortcode, Theme Modification, Transients, and XML-RPC.

build_query_vars_from_query_block()

Helper function that constructs a WP_Query args array from a Query block properties.

Building an icon registration plugin

Bundling icons in plugin

Changelog

Records version history for each function, e.g. introduced in 7.1.0.

Database Reference

Reference documentation for WordPress database APIs.

Defining the icon data structure

edit_comment()

Updates a comment with values provided in $_POST.

Filesystem Reference

Reference documentation for WordPress filesystem APIs.

Function Reference

Documents core PHP functions such as get_block_bindings_supported_attributes().

Function Reference Pages

Each core function has a page with parameters, return, source, hooks, related, and changelog.

get_block_bindings_supported_attributes()

Retrieves the attributes supported for block bindings.

get_comment filter hook

Fires after a comment is retrieved.

get_comment()

Retrieves comment data given a comment ID or comment object.

Hands-on with the WordPress 7.1 Icon Registration API

Hex encoding option

When the hex_encoding parameter is 1, characters may also be percent-encoded.

Hook Documentation

Lists filters and actions used by the function, such as apply_filters('is_user_member_of_blog').

How to register icons

HTTP API Reference

Reference documentation for the WordPress HTTP API.

is_sitemap()

Determines whether the current query is for a sitemap.

is_user_member_of_blog filter

Filter that determines whether a user is a member of a given blog.

Load the plugin files and bootstrap

login_remember_me_help_text Hook

Filters the help text shown in the Remember Me tooltip on the login form.

Metadata Reference

Reference documentation for WordPress metadata APIs.

New and updated in 7.1

Lists functions and hooks new or updated in WordPress 7.1.

Options Reference

Reference documentation for WordPress options APIs.

OBJECT, ARRAY_A, ARRAY_N output

Supports WP_Comment object, associative array, or numeric array return types.

Outputting icons

Plugin setup

Registering the icons with WordPress

REST API Reference

Reference documentation for the WordPress REST API.

Source Code View

Displays the full PHP source of the documented function with Trac and GitHub links.

The missing pieces: what you can’t yet do

User Contributed Notes

Community-submitted usage examples and tips appended to function pages.

7.1.0 Version Listing

Lists functions, hooks, classes, and methods new or updated in WordPress 7.1.0.

WP-CLI Commands

Reference for WP-CLI commands linked from the developer documentation.

WP_Comment class

Comment object class used and returned by get_comment().