wooccm_load_textdomain

The WooCommerce Checkout Manager wooccm load textdomain function.

Description

wooccm_load_textdomain(); 

Usage

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

Defined (1)

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

/woocommerce-checkout-manager.php  
  1. function wooccm_load_textdomain() { 
  2. $options = get_option( 'wccs_settings' ); 
  3. if( !empty($options['checkness']['admin_translation']) ) { 
  4. load_plugin_textdomain('woocommerce-checkout-manager', false, dirname(plugin_basename(__FILE__)) . '/languages/');