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.
Ensure you have the package installed in your project. If not, you can typically include it using Composer:
composer require arraypress/wp-utils
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.
After installation, you can use the library's functions in your WordPress themes or plugins.
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.
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.