Modules

WordPress Libs is organized as small, focused modules. Most modules provide fluent wrappers around WordPress APIs, while shared traits and utilities support consistent behavior across the package.

  • API — rewrite-endpoint API, route resolution, remote calls, and ZIP responses.
  • Args — reusable fluent-args and nested-clause building blocks.
  • Blocks — block registration, attributes, and supports builders.
  • CMB2 — meta box, field, group, options page, and variation wrappers for CMB2.
  • Comment — comment object helpers and comment query/update builders.
  • Container — singleton container, factory, and hook bootstrap helpers.
  • Cron — recurring and one-time cron orchestration.
  • Db — contracts and helpers for custom tables.
  • Libs — internal asset handles for library-owned CSS and JS.
  • Menuwp_nav_menu() args and nav-menu-item wrappers.
  • Meta — meta registration, translation, validation, and classic meta boxes.
  • Network — multisite network wrapper trait.
  • Post Type — custom post types, labels, capabilities, and admin-list integrations.
  • Query — query builders for posts plus date/meta/tax clauses.
  • REST API — route registration, argument schema, and resource schema builders.
  • Settingsregister_setting() wrappers and settings page composition.
  • Site — multisite site wrapper trait.
  • Taxonomy — taxonomy registration, labels, admin menu/meta-box utilities, and term queries.
  • Theme — resource loading, manifests, templates, CSS modules, and sidebar helpers.
  • Traits — memoization, singleton, and version helpers.
  • User — user object helpers, user queries, updates, and login form args.
  • Util — arrays, cache, colors, cryptography, files, logging, strings, URLs, and version helpers.

Table of contents


WordPress Libs by Mat Lipe. MIT License.