<?php
/* ================ Before ================ */
function __construct()
{
// Validate the request
$this->validate_request();
add_action('init', array(&$this, 'start_buffer'), -1);
add_action('wp_footer', array(&$this, 'print_marker'), -1);
}
/* ================ After ================ */
function __construct()
{
// Validate the request
$this->validate_request();
if ($this->valid_request) {
add_action('init', array(&$this, 'start_buffer'), -1);
add_action('wp_footer', array(&$this, 'print_marker'), -1);
}
}