コード例 #1
0
 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');
     });
 }
コード例 #2
0
 public function __construct($wpdb)
 {
     parent::__construct($wpdb);
     $this->db = new Database($wpdb);
 }