summaryrefslogtreecommitdiff
path: root/plugins/example_feed/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/example_feed/init.php')
-rw-r--r--plugins/example_feed/init.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/example_feed/init.php b/plugins/example_feed/init.php
index 19d089667..1d653a9f6 100644
--- a/plugins/example_feed/init.php
+++ b/plugins/example_feed/init.php
@@ -23,5 +23,10 @@ class Example_Feed extends Plugin {
_debug("I'm a little feed short and stout, here's my title: " . $feed->get_title());
_debug("... here's my link element: " . $feed->get_link());
}
+
+ function api_version() {
+ return 2;
+ }
+
}
?>