/wp-strava

A wordpress boilerplate plugin with which you can write ES6 JavaScript and SASS.

Primary LanguagePHP

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/