aiwoo_plugin_admin_notices

The WooCommerce Menu Extension aiwoo plugin admin notices function.

Description

aiwoo_plugin_admin_notices(); 

Usage

  1. if ( !function_exists( 'aiwoo_plugin_admin_notices' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-menu-extension/woocommerce-menu-extension.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = aiwoo_plugin_admin_notices(); 
  7.  

Defined (1)

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

/woocommerce-menu-extension.php  
  1. function aiwoo_plugin_admin_notices()  
  2. $msg = sprintf( __( 'Please install or activate : %s.', $_SERVER['SERVER_NAME'] ), '<a href=https://wordpress.org/plugins/woocommerce style="color: #ffffff;text-decoration:none;font-style: italic;" target="_blank"/><strong>WooCommerce - excelling eCommerce</strong></a>' ); 
  3.  
  4. echo '<div id="message" class="error" style="background-color: #DD3D36;"><p style="font-size: 16px;color: #ffffff">' . $msg . '</p></div>';  
  5.  
  6. deactivate_plugins('woocommerce-menu-extension/woocommerce-menu-extension.php');