id, 'ajaxpress' ) ) { return false; } $installed = (int) get_option( self::INSTALLED_OPTION, time() ); return ( time() - $installed ) >= ( self::DELAY_DAYS * DAY_IN_SECONDS ); } /** * Render the banner. * * @return void */ public function maybe_render(): void { if ( ! $this->should_show() ) { return; } $nonce = wp_create_nonce( 'ajaxpress_rating' ); ?>