Skip to content

dmhendricks/wordpress-toolkit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Author Latest Release GitHub License Total Downloads Donate Flywheel Twitter

WordPress Tool Kit

A collection of classes that I use in my WordPress projects & plugins.

Contributing

If you can make the code better or recommend/contribute code that would be useful to include, please let me know.

Features

  • ConfigRegistry class - Loads plugin/theme settings from an array or JSON file.
  • Licensing class - Currently only support license code validation via the Software Licensing addon for WHMCS.
  • ObjectCache class - A wrapper for setting/fetching values from the WordPress object cache, where available.
  • PluginTools class - A class for retrieving data and performing various tasks on plugins.
  • ScriptObject class - Inject JavaScript variables or CSS into the page head or write/enqueue external files.

Installation

Requirements

  • WordPress 4.7 or higher
  • PHP 7.0 or higher

Compatibility tested with WordPress 5.0, multisite and PHP 7.3.

Install with Composer

composer require dmhendricks/wordpress-toolkit

Usage

Please see the Documentation page.

About

A collection of helper classes and functions for WordPress plugins and themes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages