Skip to content

generoi/wp-text-replacements

Repository files navigation

text-replacements

Replace text

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 production

# Development assets while developing the plugin
npm run dev

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

Bump versions

# Bump patch release
robo version:bump

# Bump minor release
robo version:bump --stage=minor

# Bump major release
robo version:bump --stage=major

Setup new plugin

robo rename

Translations

Rebuild POT files (after this, copy to each language as languages/text-replacements-<langcode>.po and translate it)

npm run lang:pot

Compile MO files (requires msgfmt which is available with brew install gettext && brew link gettext --force)

npm run lang:mo

Or run all of these with:

npm run lang

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published