From 435e9f26dc8617100b94b5b45ec9239def5ac00e Mon Sep 17 00:00:00 2001 From: Kim Helge Frimanslund <1223194+kimhf@users.noreply.github.com> Date: Sun, 28 Oct 2018 23:37:54 +0100 Subject: [PATCH] More descriptive variable name --- app/filters.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/filters.php b/app/filters.php index efdf388..9eccb85 100644 --- a/app/filters.php +++ b/app/filters.php @@ -50,10 +50,10 @@ add_filter('template_include', function ($template) { collect(['get_header', 'wp_head'])->each(function ($tag) { ob_start(); do_action($tag); - $c = ob_get_clean(); + $output = ob_get_clean(); remove_all_actions($tag); - add_action($tag, function () use ($c) { - echo $c; + add_action($tag, function () use ($output) { + echo $output; }); }); $data = collect(get_body_class())->reduce(function ($data, $class) use ($template) {