This filter controls the translation template to load for a specific language by using WordPress’s core function get_locale()
.
apply_filters("plugin_locale", get_locale(), "pmpro"); |
Parameters
-
string (get_locale(), “pmpro”)
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/class.pmproemail.php
View in Source Code