From b8722fbab6f23bf2ab2c0ae8e3b32e37feec0971 Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Wed, 19 Jul 2017 14:03:20 -0500 Subject: [PATCH] Added example usage --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 4e529af..bfcf70c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ A simple [mu-plugin](https://codex.wordpress.org/Must_Use_Plugins) that buffers [Original code](http://stackoverflow.com/a/22818089/3799374) by [kfriend](https://stackoverflow.com/users/419673/kfriend) on Stack Overflow. Licensed as GPL because it is a WordPress derivative. +### Example Usage + +``` +add_filter( 'final_output', function($output) { + return str_replace('foo', 'bar', $output); +}); +``` + ## Changelog **1.0.2 (master)**