mc_pop_mm_assets

The MailChimp Popup with Exit Support mc pop mm assets function.

Description

mc_pop_mm_assets(); 

Usage

  1. if ( !function_exists( 'mc_pop_mm_assets' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'mailchimp-popup-with-exit-support/mailchimp-popup-mailmunch.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mc_pop_mm_assets(); 
  7.  

Defined (1)

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

/mailchimp-popup-mailmunch.php  
  1. function mc_pop_mm_assets() { 
  2. $mc_pop_mm_data = unserialize(get_option("mc_pop_mm_data")); 
  3. if (count($mc_pop_mm_data) == 0) return; 
  4.  
  5. if (function_exists('wp_head')) { 
  6. add_action( 'wp_head', 'mc_pop_mm_load_asset_code' );  
  7. elseif (function_exists('wp_footer')) {