0

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?

or

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?

2 Answers 2

1

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

This is what I want really

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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