theotoke Posted February 21, 2022 Share Posted February 21, 2022 Hello there! I'm trying to make " getTemplateVars() " to work on Admin Area using a hook. I keep getting " Error: Call to a member function getTemplateVars() on null " It works on all Client-side pages, but not on admin area. ( add_hook("AdminAreaPage"... etc ) Am i missing something? cheers 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.