2012-06-05, 12:50 AM
So, I guess I'll post here sense I can't find anywhere else to put it.
I was wondering exactly how hooks are used in mybb.
So far all I know is that:
I was wondering how many "parts" of mybb existed, and if my interpretation is correct.
Also, if this is already explained in the wiki, then info on when the wiki will most likely return would be helpful.
Thanks,
preb34
I was wondering exactly how hooks are used in mybb.
So far all I know is that:
$plugins->add_hook("pre_output_page", "hello_world");
// First parameter defines what part of mybb,
// when accessed by the browser, will execute
// the function included in the plugin defined
// in the second parameter.
I was wondering how many "parts" of mybb existed, and if my interpretation is correct.
Also, if this is already explained in the wiki, then info on when the wiki will most likely return would be helpful.
Thanks,
preb34