woocommerce_log_clear

woocommerce_log_clear

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_log_clear') is found 1 times:

  • /includes/log-handlers/class-wc-log-handler-file.php line 242
    		if ( $this->open( $handle, 'w' ) && is_resource( $this->handles[ $handle ] ) ) {
    			$result = true;
    		}
    
    		do_action( 'woocommerce_log_clear', $handle );
    
    		return $result;
    	}
    
    	/**
    	 * Remove/delete the chosen file.