How to reuse MUA classes in custom function.php
-
Hi, I’m writing a wrapper to create a custom REST endpoint (using WP REST API interface) for an external app that must use some admin WP functions included APPROVAL/DENY user access using EONET MUA plugin.
How I can use tha UAM classes in my piece of code? I’ve tried this$user_manager = new Eonet_MUA_UserManager($userid);
but I alway receive errorPHP Fatal error: Uncaught Error: Class 'Eonet_MUA_UserManager' not found in .../function.php
Thanks for any help/suggestion.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to reuse MUA classes in custom function.php’ is closed to new replies.