First of all thank you for this plugin. It does exactly what I wanted (except for the fact that the messages should be sent to all users instead of admins, so I changed the
The thing which I would like you to know is, for the plugin installation, you have the following code in your
register_activation_hook( __FILE__,'omn_plugin_activation' );
But, it should've been under
require_once plugin_dir_path( __FILE__ ).'includes/database.php';
Otherwise the database won't be created on plugin install.