public function __construct($wpdb) { parent::__construct($wpdb); $this->db = new Database($wpdb); // Dequeue scripts, but they'll be requeued in self::run() if required. add_action('wp_enqueue_scripts', function () { wp_dequeue_script('tabulate-scripts'); }); }
public function __construct($wpdb) { parent::__construct($wpdb); $this->db = new Database($wpdb); }