How to output message during plugin activation
For testing purposes you can use the log system (php_error.log): error_log(‘Plugin activated’, 0); // Check for DB table existance if(!$this->hasDBTable()){ error_log(‘Database not present’, 0); if($this->createCELabelsDBTables()){ error_log(‘Database was created.’, 0); } else { error_log(‘Error creating the CE Labels Plugin db tables!’, 0); } } else { error_log(‘Database OK’, 0); } To output error to the user … Read more