WP_Background_Process::clear_scheduled_event()
Clear scheduled event
Description
Source
File: bp-core/libraries/wp-background-process.php
478 479 480 481 482 483 484 | protected function clear_scheduled_event() { $timestamp = wp_next_scheduled( $this ->cron_hook_identifier ); if ( $timestamp ) { wp_unschedule_event( $timestamp , $this ->cron_hook_identifier ); } } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.