PLL_Admin_Strings::get_strings() needs improvement
-
I would like to call PLL_Admin_Strings::get_strings() from my plugin to get all the strings registered using the function pll_register_string by a given theme. This doesn’t work. It retrieves only the default WordPress strings. I saw a post that calling add_filter on ‘pll_get_strings’ hook for all the custom strings will make them available in PLL_Admin_Strings::get_strings(). However I can’t require this of the theme because I am not the author of the theme. Any advice on how to get all the theme strings from my plugin?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PLL_Admin_Strings::get_strings() needs improvement’ is closed to new replies.