Adding a custom Action

Keyboard Action has been made to be easily extensible for developers. Hooks and filters are available to add in custom actions that can do about anything. All the existing actions within Keyboard Action are a good place to get familiar with how it works and can be used as a starting point if you want to.

The sample custom Action

In here I’ll show how to add a simple custom action. This custom action will create a new “Lorem ipsum” post and directly navigate to that post on the front-end.

Creating the Action class