<?php
if (!defined('ABSPATH')) exit;

/**
 * Returns the watermark text used in generated PDFs.
 *
 * Keeping this in a single module prevents redeclaration errors if other files
 * also reference watermark-related helpers.
 */
if (!function_exists('cf7_pdf_gen_watermark_text')) {
  function cf7_pdf_gen_watermark_text(): string
  {
    $brand = defined('CF7_PDF_GEN_BRAND_NAME')
      ? (string) CF7_PDF_GEN_BRAND_NAME
      : 'EPE Formetto - PDF Attachments for Contact Forms';

    return 'Generated with ' . $brand;
  }
}
