<?php
$plugin_id = basename(__FILE__);
$data['name'] = "Second plugin";
$data['author'] = "Nemanja";
$data['url'] = "http://www.avramtar.com/";
function plg2() {
echo 'echoed from second plugin<br />';
}
function njeh() {
echo "<p>from plugin 2... below!?</p>";
}
add_hook('test','plg2');
add_hook('test1','njeh');
echo "<p>Plugin 2 LOADED!</p>";
?>
|