Is this possible to find out whether add_filter( 'allow_major_auto_core_updates', '__return_true', 1 ); already added or not in some other plugin?


can i check this automatic updates set for particular WordPress site ?

if they defined automatic updates settings via constant then we can get it from via

if(defined ('constant') ){
//code here

if they use filters, how to find it out?


has_filter() checks if any filter has been registered for a hook.

This is what I want really

| improve this answer | |

Not sure if I understand your question, but I think installing the debug bar with the hooks and filters plugin could help you.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.