return $body_class;
} /**
* Initiates the WP_Cron schedule test cases.
*
* @since 5.2.0
*/
private function wp_schedule_test_init() { $this->schedules =
wp_get_schedules();
$this->
get_cron_tasks();
} /**
* Populates the list of cron events and store them to a class-wide variable.
*
* @since 5.2.0
*/
private function get_cron_tasks() { $cron_tasks =
_get_cron_array();
if ( empty( $cron_tasks ) ) {