Download the PHP package underpin/block-loader without Composer
On this page you can find all versions of the php package underpin/block-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download underpin/block-loader
More information about underpin/block-loader
Files in underpin/block-loader
Download underpin/block-loader
More information about underpin/block-loader
Files in underpin/block-loader
Vendor underpin
Package block-loader
Short Description Block Loader for Underpin
License GPL-2.0-or-later
Package block-loader
Short Description Block Loader for Underpin
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package block-loader
Underpin Block Loader
Loader That assists with adding blocks to a WordPress website.
Installation
Using Composer
composer require underpin/block-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-blocks/blocks.php');
Setup
- Install Underpin. See Underpin Docs
- Register new blocks menus as-needed.
Example
A very basic example could look something like this. Note that your block will not display unless registered in Javascript as well.
Alternatively, you can extend Block
and reference the extended class directly, like so:
All versions of block-loader with dependencies
PHP Build Version
Package Version
Requires
underpin/script-loader Version
^1.1
underpin/style-loader Version ^1.0
underpin/underpin Version ^2.0
underpin/style-loader Version ^1.0
underpin/underpin Version ^2.0
The package underpin/block-loader contains the following files
Loading the files please wait ....