monsterinsights_invalid_ua_code

Outputs a WordPress style notification to tell the user their UA code was bad.

Description

monsterinsights_invalid_ua_code(); 

Usage

  1. if ( !function_exists( 'monsterinsights_invalid_ua_code' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/includes/admin/pages/settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = monsterinsights_invalid_ua_code(); 
  7.  

Defined (1)

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

/includes/admin/pages/settings.php  
  1. function monsterinsights_invalid_ua_code() { 
  2. echo monsterinsights_get_message( error, esc_html__( 'Invalid UA code.', 'google-analytics-for-wordpress' ) );