bps_load_textdomain

The Buddypress Messages Spam Blocker bps load textdomain function.

Description

bps_load_textdomain(); 

Usage

  1. if ( !function_exists( 'bps_load_textdomain' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-messages-spam-blocker/plugin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bps_load_textdomain(); 
  7.  

Defined (1)

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

/plugin.php  
  1. function bps_load_textdomain() { 
  2. load_plugin_textdomain('buddypress-messages-spamblocker', false, dirname(plugin_basename(__FILE__)) . "/languages/");