Automattic\WP\Cron_Control\Cron_Options_CPT::mark_job_completed PHP Method

mark_job_completed() public method

Trashed posts will be cleaned up by an internal job
public mark_job_completed ( $timestamp, $action, $instance ) : boolean
$timestamp int Unix timestamp
$action string name of action used when the event is registered (unhashed)
$instance string md5 hash of the event's arguments array, which Core uses to index the `cron` option
return boolean
    public function mark_job_completed($timestamp, $action, $instance)
    {
        $job_post_id = $this->job_exists($timestamp, $action, $instance, true);
        if (!$job_post_id) {
            return false;
        }
        return $this->mark_job_post_completed($job_post_id);
    }