MyBB-Plugins Forums

Full Version: Plugin error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Heres the hook:


Code:
$plugins->add_hook('global_start', 'register_please');

If you need more code to see, just let me know and ill post it.
Hmm, register_please should be the function to execute. It must exist like:
PHP Code:
function register_please()
{
// do something

Anyway, if you're plugin file is called register_please.php you should use something else for the function name like register_please_global