Download the PHP package wordpress-phoenix/wordpress-options-builder-class without Composer
On this page you can find all versions of the php package wordpress-phoenix/wordpress-options-builder-class. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wordpress-phoenix/wordpress-options-builder-class
More information about wordpress-phoenix/wordpress-options-builder-class
Files in wordpress-phoenix/wordpress-options-builder-class
Download wordpress-phoenix/wordpress-options-builder-class
More information about wordpress-phoenix/wordpress-options-builder-class
Files in wordpress-phoenix/wordpress-options-builder-class
Vendor wordpress-phoenix
Package wordpress-options-builder-class
Short Description Library that helps you setup theme or plugin options that store data in the database with just a line or two of code
License GPL-3.0-or-later
Homepage https://github.com/WordPress-Phoenix/wordpress-options-builder-class
Package wordpress-options-builder-class
Short Description Library that helps you setup theme or plugin options that store data in the database with just a line or two of code
License GPL-3.0-or-later
Homepage https://github.com/WordPress-Phoenix/wordpress-options-builder-class
Please rate this library. Is it a good library?
Informations about the package wordpress-options-builder-class
WordPress Phoenix Options Panel
WordPress options builder class is a library that helps you setup theme or plugin options that store data in the database with just a few lines of code.
Updated in 5.0
- Updated WordPress Coding Standards
- Improved Composer configuration
- Added support for the .editorconfig standard
- Rewrote encryption on the Password field type to use OpenSSL instead of mcrypt
- Removed the Markdown field type
- Refactored library code
Table of Contents
- Installation
- Upgrading to version 5.x
- Usage
Installation
Composer style (recommended)
-
Include in your plugin by creating or adding the following to your composer.json file in the root of the plugin
- Confirm that composer is installed in your development enviroment using
which composer
. - Open CLI into your plugins root directory and run
composer install
. - Confirm that it created the vendor folder in your plugin.
- In your plugins main file, near the code where you include other files place the following:
Manual Installation
- Download the most updated copy of this repository from
https://api.github.com/repos/WordPress-Phoenix/wordpress-options-builder-class/zipball
- Extract the zip file, and copy the PHP file into your plugin project.
- Include the
src/class-wordpress-options-panels.php
file in your plugin.
Upgrading to version 5.x
Version 5.0 is a major rewrite of the WordPress Phoenix Options Panel and there are a few required update steps.
- If not using an autoloader, include
src/class-wordpress-options-panels.php
(instead ofwpop-init.php
) - Reference the
\WPOP\V_5_0\*
namespace instead of\WPOP\V_4_1\*
-
If you aren't using an autoloader, manually load the class files into memory:
- The Markdown field type has been removed; consider switching to
include_partial
and rendering the markdown through a PHP class of your choosing (WordPress Phoenix Options Panel version 4.x used erusev/parsedown) - Update your array of
$args
tonew \WPOP\V_5_0\Page( $args, $fields );
to include aninstalled_dir_uri
key and value, representing the public URL path to your installation of this library (required to load CSS and JS assets used to style the options panels)
Usage
- Get started at the Wiki describing Panel, Section and Part schemas
- See a full example in the WPOP Example Plugin
- Generate a working copy using the WordPress Development Toolkit and the Abstract Plugin Base.
All versions of wordpress-options-builder-class with dependencies
PHP Build Version
Package Version
No informations.
The package wordpress-phoenix/wordpress-options-builder-class contains the following files
Loading the files please wait ....