Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 723 Bytes

README.md

File metadata and controls

46 lines (28 loc) · 723 Bytes

wp-plugin-boilerplate

A boilerplate WordPress plugin

Requirements

Does the plugin have any requirements?

Features

A list of features.

API

Any hooks exposed?

// Load recaptcha script.
add_filter('gravityforms-timber/options', function ($options) {
  $options['recaptcha'] = true;
});

Development

Install dependencies

composer install
npm install

Run the tests

npm run test

Build assets

# Minified assets which are to be committed to git
npm run build:production

# Watch for changes and re-compile while developing the plugin
npm run start

Translations

wp i18n make-pot . languages/wp-plugin-boilerplate.pot
wp i18n make-mo languages/