pfaciana/wp-helpers

Additional classes and functions to help with writing code for WordPress

1.0.0 2025-06-22 01:53 UTC

This package is auto-updated.

Last update: 2025-06-22 02:03:13 UTC


README

A WordPress development library that provides object-oriented tools for plugin and theme development. This library offers standardized solutions for common WordPress development tasks.

Features

  • Settings API Wrapper: Object-oriented interface for WordPress settings pages with support for various field types and validation
  • AJAX Handler: Simplified AJAX endpoint creation with built-in security and registration
  • REST API Extensions: Tools for custom endpoints and taxonomy management
  • Autoloading: Efficient class loading system
  • Admin Interface: Tools for creating and managing WordPress admin pages
  • Development Utilities: Common patterns and helper methods

Installation

Via Composer

composer require pfaciana/wp-helpers

Documentation

Detailed documentation is available in each component's README:

  • Settings - Settings API implementation
  • Ajax - AJAX endpoint management
  • API - REST API extensions
  • Autoload - Class autoloading
  • Pages - Admin page management
  • Hooks - WordPress hooks
  • Includes - Helper functions