Download the PHP package wp-media/options without Composer
On this page you can find all versions of the php package wp-media/options. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wp-media/options
More information about wp-media/options
Files in wp-media/options
Download wp-media/options
More information about wp-media/options
Files in wp-media/options
Vendor wp-media
Package options
Short Description Options Handler for WordPress Options API
License GPL-2.0+
Homepage https://github.com/wp-media/options
Package options
Short Description Options Handler for WordPress Options API
License GPL-2.0+
Homepage https://github.com/wp-media/options
Please rate this library. Is it a good library?
Informations about the package options
Option Package
This package is a wrapper to make it easier to work with the WordPress Options API.
Installation
Using composer:
composer require wp-media/options
Description
This package contains the following:
- OptionsInterface: Interface defining the mandatory methods to implement
- AbstractOptions: Abstract class implementing
OptionsInterface, with get/set/delete abstract methods - Options: Class extending
AbstractOptionsfor single site options - SiteOptions: Class extending
AbstractOptionsfor multisite options - OptionArray: Class to manage array data coming from an option
Usage Examples
For single site option
For multisite option
For option containing an array
All versions of options with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 7.4
The package wp-media/options contains the following files
Loading the files please wait ...