SMF Development > Next SMF Discussion
[2.1] Hooks in 2.1
live627:
loadFile('require_once_for_plugins_my_ass.php', 'live627:my_plgin');
Same format for loadTemplate?
Joshua Dickerson:
--- Code: ---/**
* Load a file
* @param string $filename
* @param string $directory_type = 'source' (always lowercase) or used as a directory if no type is found
*/
function loadFile($filename, $type = 'source')
--- End code ---
mkress:
I think its very important to have a list of available and installed/used hooks in admin area.
Also there have to be much more hooks on several positions in smf...
IchBin™:
There are literally over a 100 hooks in the next version of SMF already.
Joshua Dickerson:
I think it is somewhere around 250 new hooks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version