woobill_delete_log

The WooCommerce Billogram Integration woobill delete log function.

Description

woobill_delete_log(); 

Usage

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

Defined (1)

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

/woocommerce-billogram2-extended.php  
  1. function woobill_delete_log() { 
  2. $filePath = dirname(__FILE__).'/logfile.log'; 
  3. unlink($filePath); 
  4. logthis('Log file removed by economic_delete_log!');