getTimestamp() * 1000; } catch ( Exception $abb_e ) { $abb_end_ms = 0; } } // Already over and set to disappear: render nothing at all. if ( 'fixed' === $abb_mode && $abb_end_ms <= $abb_now_ms && 'hide' === $abb_expire ) { return; } $abb_labels = [ 'days' => __( 'Days', 'alert-box-block' ), 'hours' => __( 'Hours', 'alert-box-block' ), 'minutes' => __( 'Minutes', 'alert-box-block' ), 'seconds' => __( 'Seconds', 'alert-box-block' ), ]; $abb_server = [ 'mode' => $abb_mode, 'end' => $abb_end_ms, 'now' => $abb_now_ms, 'labels' => $abb_labels, 'srPrefix' => __( 'Time remaining:', 'alert-box-block' ), 'proOnly' => __( 'This block is only available in the Pro version.', 'alert-box-block' ), ]; $abb_id = wp_unique_id( 'abbCountdownAlert-' ); $abb_premium = alertboxblock_is_premium() ? 'true' : ''; ?>