Hook “msls_options_get_available_languages” behaviour
-
Hi there,
As a developer coming over from WPML, it’s refreshing to see how simple this plugin is π Thank-you.
I am adding a language for Swiss French like so:
function my_msls_options_get_available_languages( $languages ) { if (!isset($languages['fr_CH'])) { $languages['fr_CH'] = 'Switzerland (Francais)'; } return $languages; } add_filter( 'msls_options_get_available_languages', 'my_msls_options_get_available_languages' );Within Language Settings > Blog Language, the option I have added only appears in the select element for certain sites not others (no distinguishable pattern).
Also, the option I have added does not save when clicking “Update”.
Grateful for any assistance.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Hook “msls_options_get_available_languages” behaviour’ is closed to new replies.