remove_action 'admin_notices' doesn't work anymore
-
Hello Thomas,
in our theme the detection, whether an attachment source is missing or not, differs slightly from the way you do it.
Therefore I used to deregister the action ‘admin_notices’ from your ‘ISC_Admin’ an wrote my own action in the past.
This works no longer in the latest version, because the variable ‘$isc_admin’ dosn’t exist anymore.
However I saw in your Code that ‘ISC_Admin’ is a child of ‘ISC_Class’ and this class would have the static method ‘get_instance()’.
Could you add to the constructor of ‘ISC_Admin’ the call to the parents constructor ( parent::__construct() )?
Or is there a good reason why you don’t do that?Thank you!
- The topic ‘remove_action 'admin_notices' doesn't work anymore’ is closed to new replies.