arraypress/wp-utils

A comprehensive utility library for WordPress plugin development, offering a rich set of helper classes and methods for efficient handling of posts, terms, users, and other WordPress elements.

dev-main 2024-12-07 18:33 UTC

This package is auto-updated.

Last update: 2024-12-07 18:33:28 UTC


README

A comprehensive collection of helper functions and utilities designed to enhance WordPress plugin and theme development. This library provides a wide range of tools to simplify common tasks and extend WordPress functionality across various domains, including block management, data manipulation, database operations, and more.

Installation

Ensure you have the package installed in your project. If not, you can typically include it using Composer:

composer require arraypress/wp-utils

Features

The library includes utility classes for:

Block, Blocks, Cast, Color, Compare, Convert, Cookie, Create, Currency, Database, Date, Email, Extract, File, Format, Generate, Gutenberg, Hashing, IP, Math, Meta, MIME, Operators, Option, Options, Page, Post, Posts, Sanitize, Server, Site, Social, SQL, Str, Taxonomies, Taxonomy, Term, Terms, Theme, TimeUnits, Transient, Transients, UnitConversion, URL, User, Users, Validate, Widget

Each class provides a set of helper functions related to its domain, offering a comprehensive toolkit for WordPress developers.

Usage

After installation, you can use the library's functions in your WordPress themes or plugins.

Contributions

Contributions to this library are highly appreciated. Raise issues on GitHub or submit pull requests for bug fixes or new features. Share feedback and suggestions for improvements.

License: GPLv2 or later

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.