diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-15 21:17:31 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-16 19:53:04 -0500 |
commit | 08a962c98e2923724f8013d6eaae89101243752a (patch) | |
tree | 8d68a5768faeb6284c86ceede30a445e5118bbba /documentation/examples/plugins/start.php | |
parent | 87a7d965c87e882857fc759d765a9d6b2f01fafa (diff) | |
download | elgg-08a962c98e2923724f8013d6eaae89101243752a.tar.gz elgg-08a962c98e2923724f8013d6eaae89101243752a.tar.bz2 |
updated the plugin skeleton with some instructions
Diffstat (limited to 'documentation/examples/plugins/start.php')
-rw-r--r-- | documentation/examples/plugins/start.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/examples/plugins/start.php b/documentation/examples/plugins/start.php index e69de29bb..ea1e894b2 100644 --- a/documentation/examples/plugins/start.php +++ b/documentation/examples/plugins/start.php @@ -0,0 +1,12 @@ +<?php +/** + * Describe plugin here + */ + +elgg_register_event_handler('init', 'system', 'my_plugin_init'); + +function my_plugin_init() { + // Rename this function based on the name of your plugin and update the + // elgg_register_event_handler() call accordingly + +} |