public function vtprd_pro_lifetime_log_roll_out($log_id) { //error_log( print_r( 'Function begin - vtprd_pro_lifetime_log_roll_out', true ) ); //v1.1.1 begin - // "do_no_actions" set/unset in function vtprd_build_product_price_array if (!isset($_SESSION)) { session_start(); header("Cache-Control: no-cache"); header("Pragma: no-cache"); } if (isset($_SESSION['do_no_actions']) && $_SESSION['do_no_actions']) { return; } //v1.1.1 end if (is_admin() && defined('VTPRD_PRO_DIRNAME')) { vtprd_debug_options(); //v1.1 vtprd_maybe_lifetime_roll_log_totals_out($log_id); } return; }
function vtprd_maybe_lifetime_log_roll_out_cntl($log_id = null) { global $post, $wpdb; //global $post already in calling routine if ($log_id == '') { $log_id = absint($_GET['purchlog_id']); } if ($log_id) { vtprd_maybe_lifetime_roll_log_totals_out($log_id); } }
public function vtprd_pro_lifetime_log_roll_out($log_id) { if (is_admin() && defined('VTPRD_PRO_DIRNAME')) { vtprd_debug_options(); //v1.1 vtprd_maybe_lifetime_roll_log_totals_out($log_id); } return; }