wccm_validate_upload_process_customer

The WooCommerce Checkout Manager wccm validate upload process customer function.

Description

wccm_validate_upload_process_customer(); 

Usage

  1. if ( !function_exists( 'wccm_validate_upload_process_customer' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-checkout-manager/includes/classes/file_upload/main_upload.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wccm_validate_upload_process_customer(); 
  7.  

Defined (1)

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

/includes/classes/file_upload/main_upload.php  
  1. function wccm_validate_upload_process_customer() { 
  2. $options = get_option( 'wccs_settings' ); 
  3.  
  4. if ( !empty($options['checkness']['enable_file_upload'])) {return true;} else {return false;}