https://github.com/devaloka/event-converter
:sunny: [READ-ONLY] Converts ALL WordPress actions/filters to/from EventDispatcher's Events.
https://github.com/devaloka/event-converter
Last synced: 5 months ago
JSON representation
:sunny: [READ-ONLY] Converts ALL WordPress actions/filters to/from EventDispatcher's Events.
- Host: GitHub
- URL: https://github.com/devaloka/event-converter
- Owner: devaloka
- License: gpl-2.0
- Created: 2016-01-24T03:25:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T02:29:51.000Z (about 9 years ago)
- Last Synced: 2025-01-26T11:43:05.519Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 201 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# Event Converter
[![Latest Stable Version][stable-image]][stable-url]
[![Latest Unstable Version][unstable-image]][unstable-url]
[![License][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
Interchangeably converts WordPress's action/filter to/from [EventDispatcher](https://github.com/devaloka/event-dispatcher)'s
Event.
## Features
* Interchangeably handle/listen/dispatch **all** WordPress actions/filters
as EventDispatcher's Events
* WordPress's action/filter to WordPress's action/filter
* WordPress's action/filter to EventDispatcher's Event
* EventDispatcher's Event to WordPress's action/filter
* EventDispatcher's Event to EventDispatcher's Event
## Installation
1. Install via Composer.
```sh
composer require devaloka/event-converter
```
## Caveat
* `Event::stopPropagation()` doesn't work.
[stable-image]: https://poser.pugx.org/devaloka/event-converter/v/stable
[stable-url]: https://packagist.org/packages/devaloka/event-converter
[unstable-image]: https://poser.pugx.org/devaloka/event-converter/v/unstable
[unstable-url]: https://packagist.org/packages/devaloka/event-converter
[license-image]: https://poser.pugx.org/devaloka/event-converter/license
[license-url]: https://packagist.org/packages/devaloka/event-converter
[travis-image]: https://travis-ci.org/devaloka/event-converter.svg?branch=master
[travis-url]: https://travis-ci.org/devaloka/event-converter