Automattic\WP\Cron_Control\CLI\Events::get_event_details_from_post_title PHP Method

get_event_details_from_post_title() private method

Parse event details stored in an item's post_title
    private function get_event_details_from_post_title($title)
    {
        $event_details = explode('|', $title);
        $event_details = array_map('trim', $event_details);
        return array('timestamp' => (int) $event_details[0], 'action' => $event_details[1], 'instance' => $event_details[2]);
    }