Project Type: WordPress Reference

Theme Compat — Fallback Templates

Overview of the WordPress core theme-compat subsystem. Source: wp-includes/theme-compat/ Purpose The theme-compat directory provides fallback template files used when the active theme does not include its own version of a...

comments.php

Fallback comments template for themes that do not provide their own. Source: wp-includes/theme-compat/comments.php Deprecated: 3.0.0 Subpackage: Theme_Compat Purpose Loaded by comments_template() when the active theme has no comments.php. Renders the...

Translations

Base class for a set of translation entries and their associated headers. Provides the core translation lookup interface. Source: wp-includes/pomo/translations.php Since: 2.8.0 Properties Property Type Default Description $entries Translation_Entry[] array()...

MO

Reads and writes MO (Machine Object) binary translation files — the compiled format used by gettext at runtime. Source: wp-includes/pomo/mo.php Since: 2.8.0 Extends: Gettext_Translations Properties Property Type Default Visibility Description...

NOOP_Translations

Provides the same interface as Translations but performs no actual translation. All lookups return the original string. Used as a stand-in when no translation file is loaded. Source: wp-includes/pomo/translations.php Since:...

Plural_Forms

A gettext Plural-Forms expression parser and evaluator. Converts C-like plural expressions (e.g., n != 1, n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1...

PO

Reads and writes PO (Portable Object) text-based translation files — the human-editable source format used by gettext. Source: wp-includes/pomo/po.php Since: 2.8.0 Extends: Gettext_Translations Constants Constant Value Scope Description PO_MAX_LINE_LEN 79...

Translation_Entry

Encapsulates a single translatable string with its translations, metadata, and context. Source: wp-includes/pomo/entry.php Since: 2.8.0 Properties Property Type Default Description $is_plural bool false Whether the entry contains a plural form...

Gettext_Translations

Extends Translations with gettext-specific functionality: plural form expression parsing, header management, and dynamic plural form selection from the Plural-Forms header. Source: wp-includes/pomo/translations.php Since: 2.8.0 Extends: Translations Properties Property Type Description...

Requests Library Overview

The Requests library is an HTTP client for PHP, bundled with WordPress. It provides a clean API for making HTTP requests with support for multiple transports, cookies, authentication, proxies, and...

← Back to Chubes.net