求助一下大佬关于插件钩子使用的问题
2026/01/26 10:34:10
class plugin_testhello {
function global_header() {
return '你好呀';
}
}
class plugin_testhello_forumdisplay extends plugin_testhello {
function forumdisplay_thread() {
return '你好呀';
}
}
为什么global_header这个全局的钩子可以直接返回值成功,forumdisplay_thread钩子就不行呢?
function global_header() {
return '你好呀';
}
}
class plugin_testhello_forumdisplay extends plugin_testhello {
function forumdisplay_thread() {
return '你好呀';
}
}
为什么global_header这个全局的钩子可以直接返回值成功,forumdisplay_thread钩子就不行呢?