array(), 'period' => array( 's' => '', 'e' => '', 'ps' => '', 'pe' => '', ), 'emails' => array( 'total' => 0, 'automated' => 0, 'sent' => 0, 'failed' => 0, 'waiting' => 0, 'new' => 0, 'next' => 0, 'next_count' => 0, ), 'settings' => '', 'monitor' => false, 'setup' => '', ); $tly_p = $args['period']; $tly_e = $args['emails']; $tly_day = static function ( $ymd ) { return '' === $ymd ? '' : wp_date( 'j M', strtotime( $ymd . ' 12:00:00 UTC' ), new DateTimeZone( 'UTC' ) ); }; $tly_date = (string) get_option( 'date_format' ); // Sites with a problem the server already knows about; the browser adds data drops. $tly_flagged = count( array_filter( $args['rows'], static function ( $r ) { return ! empty( $r['issues'] ); } ) ); ?>