jetpack_mailchimp_subscriber_popup

Register [mailchimp_subscriber_popup] shortcode and add a filter to 'pre_kses' queue to reverse MailChimp embed to shortcode.

Description

jetpack_mailchimp_subscriber_popup(); 

Usage

  1. if ( !function_exists( 'jetpack_mailchimp_subscriber_popup' ) ) { 
  2. require_once '/modules/shortcodes/mailchimp.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_mailchimp_subscriber_popup(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/shortcodes/mailchimp.php  
  1. function jetpack_mailchimp_subscriber_popup() { 
  2. add_shortcode( 'mailchimp_subscriber_popup', array( 
  3. 'MailChimp_Subscriber_Popup',  
  4. 'shortcode' 
  5. ) ); 
  6. add_filter( 'pre_kses', array( 
  7. 'MailChimp_Subscriber_Popup',  
  8. 'reversal' 
  9. ) );