Skip to content
Snippets Groups Projects
Commit 1dd38207 authored by ale's avatar ale
Browse files

Initialize the plugin

parent 55cf91da
No related branches found
No related tags found
No related merge requests found
Pipeline #88425 passed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Plugin Name: ai-simplesitestats * Plugin Name: ai-simplesitestats
* Plugin URI: https://git.autistici.org/noblogs/ai-simplesitestats-plugin * Plugin URI: https://git.autistici.org/noblogs/ai-simplesitestats-plugin
* Description: Show simple site statistics * Description: Show simple site statistics
* Version: 0.0.1 * Version: 0.0.3
* Author: Autistici/Inventati * Author: Autistici/Inventati
* Author URI: https://www.autistici.org/ * Author URI: https://www.autistici.org/
* License: MIT * License: MIT
...@@ -141,3 +141,10 @@ class AiSSS { ...@@ -141,3 +141,10 @@ class AiSSS {
} }
} }
function plugin_init() {
$GLOBALS['ai-sss'] = new AiSSS();
}
add_action('init', __NAMESPACE__ . 'plugin_init');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment