Awesome Support Developer Documentation

plugin_locale


Signature

apply_filters( 'plugin_locale', get_locale(), 'awesome-support' )

Typical Usage

This filter is used by the load_plugin_textdomain() function and allows you to override the locale used to locate a translation file.  For example you might force all lookups to use fr_FR as the locale regardless of what locale the WordPress system is running under.

First Available

Version 1.0.0


More Topics In Filter Hooks

Share: