add_action('init', function () { ob_start(function ($buffer) { return do_shortcode($buffer); }); });