devaloka/event-converter

Interchangeably converts all WordPress action/filter to/from EventDispatcher's Event

dev-master / 0.7.x-dev 2017-06-12 02:05 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:24 UTC


README

Latest Stable Version Latest Unstable Version License Build Status

Interchangeably converts WordPress's action/filter to/from EventDispatcher'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.

    composer require devaloka/event-converter

Caveat

  • Event::stopPropagation() doesn't work.