Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Plugin Name: Test-Plugin
- * Plugin URI: htto;//test-plugin.org
- * Version: 7.2
- * Description: Just some boring test ;-D
- * Author: M. Grollmann
- * Author URI: http://maxg-dev.org
- */
- add_action("test.hook", "heyo", 10);
- add_action("install_helloworld", "install_plugin", 10);
- add_action("deactivate_helloworld", "deactivate_plugin", 10);
- add_action("activate_helloworld", "activate_plugin", 10);
- function activate_plugin()
- {
- return true;
- }
- function deactivate_plugin()
- {
- return true;
- }
- function install_plugin()
- {
- return true;
- }
- function heyo($name)
- {
- return 'Gangstar-'.$name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement