Add hook on infocom form

This commit is contained in:
Walid 2016-06-21 18:59:27 +02:00
parent a272064d6f
commit 616ab93a44
2 changed files with 8 additions and 1 deletions

View File

@ -659,4 +659,10 @@ function plugin_example_display_login() {
echo "</div>";
}
function plugin_example_infocom_hook($params) {
echo "<tr><th colspan='4'>";
echo __("Plugin example displays on central page", "example");
echo "</th></tr>";
}
?>

View File

@ -177,6 +177,7 @@ function plugin_init_example() {
$PLUGIN_HOOKS['display_central']['example'] = "plugin_example_display_central";
$PLUGIN_HOOKS['display_login']['example'] = "plugin_example_display_login";
$PLUGIN_HOOKS['infocom']['example'] = "plugin_example_infocom_hook";
}