language fn added
This commit is contained in:
parent
b8e38f8243
commit
d3fd1b9255
|
@ -25,6 +25,12 @@ require_once(dirname(__FILE__) . "/lib/PHPExcel.php");
|
|||
require_once(dirname(__FILE__) . "/inc/mep_csv_export.php");
|
||||
require_once(dirname(__FILE__) . "/inc/mep_user_custom_style.php");
|
||||
|
||||
// Language Load
|
||||
add_action( 'init', 'mep_language_load');
|
||||
function mep_language_load(){
|
||||
$plugin_dir = basename(dirname(__FILE__))."/languages/";
|
||||
load_plugin_textdomain( 'mage-eventpress', false, $plugin_dir );
|
||||
}
|
||||
|
||||
// Class for Linking with Woocommerce with Event Pricing
|
||||
add_action('plugins_loaded', 'mep_load_wc_class');
|
||||
|
|
Loading…
Reference in New Issue