![]() |
Data from class hook - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: Data from class hook (/thread-234884.html) |
Data from class hook - SvePu - 2022-02-08 Hey, is it possible to get data from a class hook like:
If yes -> HOW?! - I'm looking for the delete_uids from this hook ![]() RE: Data from class hook - Matt - 2022-02-08 When you use the hook, the callback will accept a parameter, where you'd be able to access that property:
RE: Data from class hook - Mostafa.Shiraali - 2022-02-08
RE: Data from class hook - SvePu - 2022-02-08 Thank you both for replying I've tried to manage it like this:
The hook has to be defined in AdminCP or not? Oh lord..I was a little bit tired yesterday. Finally I figured it out...the needed hook was on wrong position. Thank you all for suggestions! |