Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 846 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 846 Bytes

Word Filter Plugin

Perform find and replace on post content when posts are displayed.

Installation

Download or clone the Word Filter plugin repo into your esoTalk plugin directory:

cd ESOTALK_DIR/addons/plugins/
git clone [email protected]:esotalk/WordFilter.git WordFilter

Navigate to the the admin/plugins page and activate the Word Filter plugin.

Translation

Create definitions.WordFilter.php in your language pack with the following definitions:

$definitions["Word filters"] = "Word filters";
$definitions["message.wordFilterInstructions"] = "Enter each word on a new line. Optionally specify a replacement after a vertical bar (|) character; otherwise, the word will be replaced with asterisks (*). Words are case-insensitive. Regular expressions are allowed.";