Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.08 KB

Lanyard

Lanyard is a very simple OOP / Bootstrap Plugin for WordPress using Composer.

Configuration

Update the details in /plugin.php, checkout the WordPress Plugin Development docs for more information on that.

Next, Search and replace PluginNameSpace with your plugins namespace, or leave it alone. Your call.

The rest should be straight forward and commented in the code.

Config.php

An array of key values, including plugin options.

Hooks

Checkout the WordPress Documentation for all the hooks and actions :)

Helpers

The configuration uses Laravel's Helpers. This gives us access to most of Laravels helper functions.

Composer

Includes:

  • "erusev/parsedown"
  • "laravel/helpers"

Keep or remove any package you like, Just note the the helpers rely on laravel/helpers so adjust accordingly.

Don't forget to composer update!