mc_pop_mm_register_page

The MailChimp Popup with Exit Support mc pop mm register page function.

Description

mc_pop_mm_register_page(); 

Usage

  1. if ( !function_exists( 'mc_pop_mm_register_page' ) ) { 
  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_register_page(); 
  7.  

Defined (1)

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

/mailchimp-popup-mailmunch.php  
  1. function mc_pop_mm_register_page() { 
  2. add_options_page('MailChimp', 'MailChimp', 'manage_options', MAILCHIMP_POPUP_MAILMUNCH_SLUG, 'mc_pop_mm_setup'); 
  3. $menu_page = add_menu_page( 'MailChimp Settings', 'MailChimp', 'manage_options', MAILCHIMP_POPUP_MAILMUNCH_SLUG, 'mc_pop_mm_setup', plugins_url( 'img/icon.png', __FILE__ ), 103.787 );  
  4. // If successful, load admin assets only on that page. 
  5. if ($menu_page) add_action('load-' . $menu_page, 'mc_pop_mm_load_plugin_assets');