Location: PHPKode > scripts > Simple Hooks Plugin > simple-hooks-plugin/plugins/plugin3.php
<?php

//this plugin will never be loaded because it has no valid file name (*.plugin.php)

$plugin_id = basename(__FILE__);

$data['name'] = "Third plugin";
$data['author'] = "Nemanja Avramovic";
$data['url'] = "http://www.avramovic.info/";

function plg3() {
	echo 'echoed from third plugin<br />';
}

function njeh() {
	echo "<p>from plugin 3... below!?</p>";
}

add_hook('test','plg3');
add_hook('test1','njeh');

echo "Plugin 3 LOADED!<br />";
?>
Return current item: Simple Hooks Plugin