Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I found the action I'd like to remove in the plugin php file:

add_action('init', array($user_hooks, "doAutoLogout"));

yet, when I add this:

remove_action('init', array($user_hooks, "doAutoLogout"));

to my functions.php, the action remains.

I'm 99% sure I'm targeting the right action, so I think it may be something else. Anything obvious?

share|improve this question

1 Answer 1

This is the correct way to do this, turns out. I'm not sure why it didn't at first. May be the caching plugin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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