remove_action: how to access to a method in an child class?
You can’t. Not how you’ve written it. You need to be able to access the instance of ChildAdminClass somehow, but it only exists within the MainAdminClass class and isn’t exposed in any way. In your code attempting to remove it you’ve referenced $child_admin as a global variable, but you didn’t create it as a global … Read more