gff_load_plugin_textdomain

The Google Font Fix gff load plugin textdomain function.

Description

gff_load_plugin_textdomain(); 

Usage

  1. if ( !function_exists( 'gff_load_plugin_textdomain' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-font-fix/google-font-fix-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gff_load_plugin_textdomain(); 
  7.  

Defined (1)

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

/google-font-fix-options.php  
  1. function gff_load_plugin_textdomain() { 
  2. $domain = 'google-font-fix'; 
  3. $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); 
  4.  
  5. load_textdomain($domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo'); 
  6. load_plugin_textdomain($domain, FALSE, basename(dirname( __FILE__ )) . '/languages/');