error_woocommerce_not_active

The Woocommerce Sisow Payment Methods error woocommerce not active function.

Description

error_woocommerce_not_active(); 

Usage

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

Defined (1)

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

/woocommerce-payment-sisow.php  
  1. function error_woocommerce_not_active() { 
  2. echo '<div class="error"><p>' . __('The Sisow payment methods plugin requires woocommerce to be active', 'woocommerce-sisow') . '</p></div>';