weMail
  • Features
  • Automations
  • Pricing
  • Blog
  • Docs
  • Contact
Join Now

Subscribe2

  • Getting Started
    • Installation of Subscribe2 Plugin
  • Settings
    • Email Settings of Subscribe2 Plugin
    • Templates For Subscribe2 Emails
    • Customizing Registered Users With Subscribe2 Plugin
    • Subscribe2 Appearance Settings
    • Subscribe2 Miscellaneous: Enter Domains to Bar for Public Subscriptions
  • Managing Subscribers
    • Subscribe2 Public Subscribers
    • Subscribe2 Registered Subscribers
  • How to Send Email to Subscribers
  • Choosing Special Categories by Subscribers
  • FAQs on Subscribe2 Plugin
  • Hooks, API & Customization
    • s2_excerpt_length
    • s2_email_subject
    • s2_post_types
    • s2_post_statuses
    • s2_taxonomies
    • s2_capability
    • s2_admin_email
    • s2_clean_interval
    • s2_reminder_interval
    • s2_send_plain_excerpt_subscribers s2_send_plain_fullcontent_subscribers s2_send_html_excerpt_subscribers s2_send_html_fullcontent_subscribers
    • s2_subscribe_confirmed
    • s2_unsubscribe_confirmed
    • s2_confirm_email
    • s2_confirm_link
    • s2_subscribe_button s2_unsubscribe_button
    • s2_form
    • s2_ajax_form
    • s2_authors
    • s2_html_email s2_plain_email s2_digest_email
    • s2_word_wrap
    • s2_jqueryui_css
    • s2_email_headers
    • s2_email_template
    • s2_allow_site_switching
    • s2_social_links
    • s2_custom_keywords
    • s2_public_subscriber_format
    • s2_lockout
    • s2_image_size
    • s2_unsublink_public s2_unsublink_registered
    • s2_sanitize_email
    • s2_remote_embed_host
    • s2_subscriber_dropdown_default
    • s2_captcha_element
    • s2_recaptcha_lang
    • s2_excerpt_on_words
  1. Home
  2. Docs
  3. Subscribe2
  4. Hooks, API & Customization

Hooks, API & Customization

Subscribe2, just like WordPress, provides several API (Application Programming Interface) hooks to allow users and developers to modify the way the plugin works. This page aims to document the available hooks.

Articles

  • s2_excerpt_length
  • s2_email_subject
  • s2_post_types
  • s2_post_statuses
  • s2_taxonomies
  • s2_capability
  • s2_admin_email
  • s2_clean_interval
  • s2_reminder_interval
  • s2_send_plain_excerpt_subscribers s2_send_plain_fullcontent_subscribers s2_send_html_excerpt_subscribers s2_send_html_fullcontent_subscribers
  • s2_subscribe_confirmed
  • s2_unsubscribe_confirmed
  • s2_confirm_email
  • s2_confirm_link
  • s2_subscribe_button s2_unsubscribe_button
  • s2_form
  • s2_ajax_form
  • s2_authors
  • s2_html_email s2_plain_email s2_digest_email
  • s2_word_wrap
  • s2_jqueryui_css
  • s2_email_headers
  • s2_email_template
  • s2_allow_site_switching
  • s2_social_links
  • s2_custom_keywords
  • s2_public_subscriber_format
  • s2_lockout
  • s2_image_size
  • s2_unsublink_public s2_unsublink_registered
  • s2_sanitize_email
  • s2_remote_embed_host
  • s2_subscriber_dropdown_default
  • s2_captcha_element
  • s2_recaptcha_lang
  • s2_excerpt_on_words
Still stuck? How can we help?
Updated on October 5, 2020

Doc navigation

← FAQs on Subscribe2 Plugin
Was this article helpful to you? Yes 1 No

How can we help?

Blog Posts

  • New Feature – Block SPAM Submissions with Cloudflare Turnstile in weMail Embed Forms
  • Essential Email Marketing Metrics to Learn for 2023 (Plus how to Improve them)
  • 9+ Best Free Newsletter Templates To Utilize For Email Marketing in 2023

weMail

  • Templates
  • Support
  • Subscribe2
  • Become an Affiliate
  • Affiliate Policy
  • Affiliate Area

Get In Touch

  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Documentation
  • Developer API
  • Schedule a Meeting

Social Link

Newsletter Subscription Form

weDevs Logo

© 2019 - 2023, weDevs Pte. Ltd. All Rights Reserved.

Icon

Icon Email Subscription Request

Thank you for your request.

...will receive a verification email once you submit this form. The email subscription will be activated once you respond to the verification email.

Please tick the box to continue:

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)