powerup_new_css_is_active

The Mailchimp Forms by Optin Cat powerup new css is active function.

Description

powerup_new_css_is_active(); 

Usage

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

Defined (1)

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

/powerups/4_new_css/powerup.php  
  1. function powerup_new_css_is_active() { 
  2. $paf = get_option( 'paf' ); 
  3. $key = 'eoi_powerup_new_css'; 
  4.  
  5. return ! empty( $paf ) 
  6. && is_array( $paf ) 
  7. && ! empty( $paf[ $key ] ) 
  8. && is_array( $paf[ $key ] ) 
  9. && in_array( 'on', $paf[ $key ] );