tt-rss/classes/plugin/example.php
Andrew Dolgov 369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00

11 lines
219 B
PHP

<?
class Plugin_Example extends Plugin {
function initialize() {
$this->add_listener('article_before');
}
function article_before(&$line) {
$line["title"] = "EXAMPLE/REPLACED:" . $line["title"];
}
}
?>