where to add this filter? in which file should be added?

Question

For wordpress language switcher, this post was helpful for others, but I don’t know where to add the mentioned filter

How to change language file used by _e function

add_filter('locale', function($locale) {
    return esc_attr($_GET['language']);
});
0
, abgrxenda 3 years 2019-10-28T08:37:55-05:00 0 Answers 56 views 0

Leave an answer

Browse
Browse