Jump to the post that solved this thread.
Solved: 1 Year, 1 Month, 3 Weeks ago Create hooks for mybb
#1
Solved: 1 Year, 1 Month, 3 Weeks ago
Can we create hooks for mybb? 

Like I want to hook when portal gets latest announcements

i can just edit portal.php and add $plugins->run_hooks("portal_latest_thread_start");

and thats all?
Reply
#2
Solved: 1 Year, 1 Month, 3 Weeks ago
yes, you can add hook like that & use in your plugin.

see also hooks related plugin for a older version of MyBB => MyBB-Hooks
Reply
#3
Solved: 1 Year, 1 Month, 3 Weeks ago
(2020-05-27, 10:31 AM).m. Wrote: yes, you can add hook like that & use in your plugin.

see also hooks related plugin for a older version of MyBB => MyBB-Hooks

thanks for the info
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)