Skip to content

Commit

Permalink
Added installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Jul 21, 2017
1 parent 0da159a commit 11a9cb7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ 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.

### Usage
## Installation

To install, simply download and copy `output-buffering.php` to your `/wp-content/mu-plugins` directory.

## Usage

##### Simple Example

Expand All @@ -16,7 +20,7 @@ add_filter( 'final_output', function($output) {
});
```

### Configuration
## Configuration

By default, output buffering is only **enabled** on the *frontend* of the site and is **disabled** for *WP Admin* and during *AJAX* requests.

Expand Down

0 comments on commit 11a9cb7

Please sign in to comment.