Files
Testing/tbs/wp-content/plugins/age-gate/includes/class-age-gate-i18n.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

48 lines
928 B
PHP

<?php if ( ! defined('ABSPATH')) exit('No direct script access allowed');
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link https://philsbury.uk
* @since 1.0.0
*
* @package Age_Gate
* @subpackage Age_Gate/includes
*/
/**
* 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 Age_Gate
* @subpackage Age_Gate/includes
* @author Phil Baker
*/
class Age_Gate_i18n {
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain() {
load_plugin_textdomain(
'age-gate',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
}
}