3

I have seen it here: wp_schedule_event

Code snippet:

 add_action( 'wp', 'prefix_setup_schedule' );

I couldn't find this hook anywhere in documentation, how does it work?

6

The hook is described on this page in Action reference section.

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.