Download the PHP package betterpress/wordpress-adapter without Composer
On this page you can find all versions of the php package betterpress/wordpress-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download betterpress/wordpress-adapter
More information about betterpress/wordpress-adapter
Files in betterpress/wordpress-adapter
Download betterpress/wordpress-adapter
More information about betterpress/wordpress-adapter
Files in betterpress/wordpress-adapter
Vendor betterpress
Package wordpress-adapter
Short Description OO adapters/wrappers around low-level wordpress functions
License
Package wordpress-adapter
Short Description OO adapters/wrappers around low-level wordpress functions
License
Please rate this library. Is it a good library?
Informations about the package wordpress-adapter
Wordpress Adapter
This package is an object-oriented layer around some of Wordpress' low-level API. Hooks are currently implemented.
Although you can use this package directly, it's more likely you'll want to use it as part of wordpress-symfony-edition as this will allow for much less verbose code.
Usage
<?php
class MyHook implements Hook
{
public function execute(HookContext $context)
{
// your hook code..
}
}
use Betterpress\Wordpress\Adapter\Hooks\HookManager;
use Betterpress\Wordpress\Adapter\Hooks\HookConfiguration;
$manager = new HookManager();
$hook = new MyHook();
$manager->add(
new HookConfiguration(HookConfiguration::ACTION, 'publish_post', $hook)
);All versions of wordpress-adapter with dependencies
PHP Build Version
Package Version
The package betterpress/wordpress-adapter contains the following files
Loading the files please wait ...