Download the PHP package underpin/widget-loader without Composer
On this page you can find all versions of the php package underpin/widget-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download underpin/widget-loader
More information about underpin/widget-loader
Files in underpin/widget-loader
Download underpin/widget-loader
More information about underpin/widget-loader
Files in underpin/widget-loader
Vendor underpin
Package widget-loader
Short Description Widget loader for Underpin
License GPL-2.0-or-later
Package widget-loader
Short Description Widget loader for Underpin
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package widget-loader
Underpin Widget Loader
Loader That assists with adding widgets to a WordPress website. It uses Underpin's built-in fields API to handle the render, and storage of widget data
Installation
Using Composer
composer require underpin/widget-loader
Manually
This plugin uses a built-in autoloader, so as long as it is required before Underpin, it should work as-expected.
require_once(__DIR__ . '/underpin-widgets/index.php');
Setup
- Install Underpin. See Underpin Docs
- Register new widgets menus as-needed.
Example
A very basic example could look something like this.
Alternatively, you can extend Widget and reference the extended class directly, like so:
All versions of widget-loader with dependencies
PHP Build Version
Package Version
Requires
underpin/underpin Version
^2.0
The package underpin/widget-loader contains the following files
Loading the files please wait ...