mailchimp_subscriber_popup

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


Usage

  1. // basic usage 
  2. echo do_shortcode('[mailchimp_subscriber_popup]'); 
  1. // variable usage 
  2. $result = do_shortcode('[mailchimp_subscriber_popup]'); 
  3. echo $result;  

Defined (1)

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

/modules/shortcodes/mailchimp.php  
  1. /* Register [mailchimp_subscriber_popup] shortcode and add a filter to 'pre_kses' queue to reverse MailChimp embed to shortcode. 
  2. * @since 4.5.0 
  3. */ 
  4. function jetpack_mailchimp_subscriber_popup() { 
  5. add_shortcode( 'mailchimp_subscriber_popup', array( 
  6. 'MailChimp_Subscriber_Popup',  
  7. 'shortcode' 
  8. ) ); 
  9. add_filter( 'pre_kses', array( 
  10. 'MailChimp_Subscriber_Popup',