Нет описания

NewsletterLink.php 530B

1234567891011121314151617181920
  1. <?php
  2. namespace MailPoet\Models;
  3. if (!defined('ABSPATH')) exit;
  4. /**
  5. * @property int $newsletterId
  6. * @property int $queueId
  7. * @property string $url
  8. * @property string $hash
  9. * @property int|null $clicksCount
  10. */
  11. class NewsletterLink extends Model {
  12. public static $_table = MP_NEWSLETTER_LINKS_TABLE; // phpcs:ignore PSR2.Classes.PropertyDeclaration
  13. const UNSUBSCRIBE_LINK_SHORT_CODE = '[link:subscription_unsubscribe_url]';
  14. const INSTANT_UNSUBSCRIBE_LINK_SHORT_CODE = '[link:subscription_instant_unsubscribe_url]';
  15. }