![]() |
How do I Check Mod Permission via Plugin
I want to use something similar with "can_moderate" that is available in templates conditionals.
How do I perform such operation inside a plugin? Say that I have an array of forum IDs and a Userid. I want to iterate all the way through my array of Forum IDs to check if the User has any moderation power in any of those forum IDs. What function should I use? thanks |
You can call can_moderate() in a plugin - it's in includes/functions.php around line 6567:
Code:
/** |
All times are GMT. The time now is 03:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|