katrina
katrina

Reputation: 103

How to create moodle local plugin

I'm creating a custom moodle local plugin, but I'm not finding any help regarding this. Can someone help and give me general layout of the local plugin?

I'm new in moodle.

Upvotes: 9

Views: 14818

Answers (1)

Jitendra Gaur
Jitendra Gaur

Reputation: 778

To create local plugin you can follow following folder structure according to Moodle documentation (https://docs.moodle.org/dev/Local_plugins)-

local/
     yourplugin/
       db/
         access.php
         install.php
         install.xml
       lang/
         en/
           yourplugin.php
       index.php
       settings.php
       version.php

Upvotes: 16

Related Questions