showAdminMessages

Deactivate plugin if Lightbox Plus and Contact Form 7 are not active.

Description

showAdminMessages(); 

Usage

  1. if ( !function_exists( 'showAdminMessages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-upload-my-file/inc/umf-funct.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = showAdminMessages(); 
  7.  

Defined (1)

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

/inc/umf-funct.php  
  1. function showAdminMessages() {showMessage(__( 'WooCommerce is not active. Please activate plugin before using WooCommerce Upload My File plugin.', 'woocommerce_umf'), true);}