34 lines
658 B
PHP
34 lines
658 B
PHP
<?php
|
|
/**
|
|
* Define the internationalization functionality.
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @since 1.0.0
|
|
* @package Disable_Wp_Notification
|
|
* @subpackage Disable_Wp_Notification/includes
|
|
* @author Sourabh Agrawal <sourabh.asct@gmail.com>
|
|
*/
|
|
class Disable_Wp_Notification_i18n {
|
|
|
|
|
|
/**
|
|
* Load the plugin text domain for translation.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public function load_plugin_textdomain() {
|
|
|
|
load_plugin_textdomain(
|
|
'disable-wp-notification',
|
|
false,
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|