English | Türkçe
Plugins live under plugins/ and are enabled from the admin panel.
plugins/my-plugin/
├── plugin.json # Manifest (required)
├── bootstrap.php # Entry point (required)
├── views/ # Optional admin/frontend partials
└── assets/ # Optional CSS/JS
{
"name": "My Plugin",
"slug": "my-plugin",
"version": "1.0.0",
"author": "Your name",
"description": "What it does"
}<?php
register_hook('after_post_create', function ($data) {
return $data;
});| Hook | When |
|---|---|
before_user_register / after_user_register |
Registration |
before_topic_create / after_topic_create |
Topic creation |
before_post_create / after_post_create |
Reply creation |
before_render |
Before page render |
layout_banner |
Below header banner area |
home_sidebar |
Homepage sidebar |
admin_menu |
Admin menu items |
Hook callbacks receive data and should return it (filter behavior).
- Place the folder under
plugins/ - Admin → Plugins
- Activate when it appears in the list
Example: plugins/hello-world/
Admin → Plugins → plugin → Settings (if the plugin registers admin routes or menu items).
Some plugins use the cron/plugins route for scheduled tasks; add it to server cron if needed.
Zunvo core is GPL v3. Your plugins may use a different license and be sold commercially.