Load l10n files.

Description Description

The first loaded file takes priority.

Files can be found in the following order: WP_LANG_DIR/lifterlms/ WP_LANG_DIR/plugins/

Return Return


Top ↑

Source Source

File: vendor/lifterlms/lifterlms-rest/class-lifterlms-rest-api.php

	public function load_textdomain() {

		// load locale.
		$locale = apply_filters( 'plugin_locale', get_locale(), 'lifterlms' );

		// load a lifterlms specific locale file if one exists.
		load_textdomain( 'lifterlms', WP_LANG_DIR . '/lifterlms/lifterlms-' . $locale . '.mo' );

		// load localization files.
		load_plugin_textdomain( 'lifterlms', false, dirname( plugin_basename( __FILE__ ) ) . '//i18n' );


Top ↑

Changelog Changelog

Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.