GPAISRTranslation

GPAISRTranslation class.

Defined (1)

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

/class.translation.php  
  1. class GPAISRTranslation { 
  2.  
  3.  
  4. /** 
  5. * __construct function. 
  6. * @access public 
  7. * @since 0.6 
  8. * @return \GPAISRTranslation 
  9. */ 
  10. function __construct() { 
  11. // register the translation function 
  12. add_action( 'init', array( $this, 'load_translation' ) ); 
  13.  
  14.  
  15. /** 
  16. * load_translation function. 
  17. * loads the translation file 
  18. * @access public 
  19. * @since 0.6 
  20. * @return void 
  21. */ 
  22. function load_translation() { 
  23. load_plugin_textdomain( 'gpaisr', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' ); 
  24.