= 1.0.0 */ use App\Core\Hooks; use App\Core\Router; // 1. Hook into Router to add a custom page Hooks::addAction('router_init', function(Router $router) { $router->get('/plugin-test', function() { echo "

Hello from Example Plugin!

"; echo "

This page is registered via router_init hook.

"; echo "Back to Home"; }); }); // 2. Hook into Head to add custom CSS Hooks::addAction('mivo_head', function() { echo ""; echo ""; }); // 3. Hook into Footer to add custom JS or Text Hooks::addAction('mivo_footer', function() { echo ""; echo "
Plugin System is Working! 🚀 Plugin Test
"; });