Take a look at the Page API
https://docs.moodle.org/dev/Page_API
You can see some examples in the Flexibase theme and I believe Essential has some and possibly a few other themes too.
Richard
Take a look at the Page API
https://docs.moodle.org/dev/Page_API
You can see some examples in the Flexibase theme and I believe Essential has some and possibly a few other themes too.
Richard