function __construct() { parent::__construct(); $this->omit = array('submit', 'nonce', 'action', 'tab', 'checkFields'); $this->fieldTypes = array('text' => 'Text', 'drop' => 'Drop Down', 'check' => 'Check Box', 'radio' => 'Radio', 'area' => 'Text Area', 'date' => 'Date', 'captcha' => 'Captcha', 'pass' => 'Password'); //do_action('wp_ajax_' . $_POST['action']); }
function __construct() { parent::__construct(); if (parent::useWoo()) { print '<script>window.location.href = "' . get_permalink(woocommerce_get_page_id('myaccount')) . '";</script>'; exit; } }
function __construct() { parent::__construct(); }