fca_eoi_settings_page

The Mailchimp Forms by Optin Cat fca eoi settings page function.

Description

fca_eoi_settings_page(); 

Usage

  1. if ( !function_exists( 'fca_eoi_settings_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'mailchimp-forms-by-optin-cat/includes/eoi-powerups.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = fca_eoi_settings_page(); 
  7.  

Defined (1)

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

/includes/eoi-powerups.php  
  1. function fca_eoi_settings_page() { 
  2.  
  3. wp_enqueue_style( 'fca_eoi_settings_page_css', FCA_EOI_PLUGIN_URL . '/assets/powerups/powerup-page.min.css', array(), FCA_EOI_VER ); 
  4. wp_enqueue_script( 'fca_eoi_settings_page_js', FCA_EOI_PLUGIN_URL . '/assets/powerups/powerup-page.min.js', array(), FCA_EOI_VER, true ); 
  5.  
  6. ob_start(); ?> 
  7. <form method='post' action='options.php' id='fca_eoi_save_settings_form'> 
  8.  
  9. <?php  
  10. settings_fields( 'fca_eoi_main_settings' ); 
  11. do_settings_sections( 'fca_eoi_settings_page' ); 
  12. ?> 
  13.  
  14. <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Save', 'easy-opt-ins')?>" /> 
  15.  
  16. </form> 
  17. <?php  
  18. echo ob_get_clean(); 
  19.