'switcher-preview' ) ); if ( empty( $custom_css ) || ! is_string( $custom_css ) ) { $custom_css = ''; } else { $custom_css = wp_strip_all_tags( $custom_css ); } ?>












.switcher-content allows you to act on the entire block of the language switcher while the class .wplng-langague allows you to act on the languages ​​themselves.', 'wplingua' ), array( 'code' => array() ) ); ?>

'; echo '.wplng-switcher.theme-light-double-square .switcher-content {' . PHP_EOL; echo ' background-color: #5e33d9;' . PHP_EOL; echo ' border: 1px solid #5e33d9;' . PHP_EOL; echo '}'; echo ''; ?>

'; echo '.wplng-switcher.theme-light-double-square .switcher-content .wplng-language {' . PHP_EOL; echo ' border: 1px solid #5e33d9;' . PHP_EOL; echo ' color: #5e33d9;' . PHP_EOL; echo '}'; echo ''; ?>


[wplng_switcher]


[wplng_switcher style="dropdown" theme="dark-simple-smooth"]

[wplng_switcher style="list|block|dropdown" flags="circle|rectangular|wave|none" title="original|name|id|none" class="you-css-class" theme="light-double-smooth|light-double-square|light-simple-smooth|light-simple-square|grey-double-smooth|grey-double-square|grey-simple-smooth|grey-simple-square|dark-double-smooth|dark-double-square|dark-simple-smooth|dark-simple-square|blurblack-double-smooth|blurblack-double-square|blurblack-simple-smooth|blurblack-simple-square|blurwhite-double-smooth|blurwhite-double-square|blurwhite-simple-smooth|blurwhite-simple-square"]



'; } esc_html_e( 'Appearance ➔ Menus', 'wplingua' ); if ( $support_menus ) { echo ''; } ?>

$target_language ) { if ( ! empty( $target_language['flag'] ) && is_string( $target_language['flag'] ) ) { $old_src = sanitize_url( $target_language['flag'] ); $new_src = str_replace( '/' . $old_flags_style . '/', '/' . $new_flags_style . '/', $old_src ); $new_src = sanitize_url( $new_src ); $target_languages[ $key ]['flag'] = $new_src; } } update_option( 'wplng_target_languages', wp_json_encode( $target_languages, JSON_UNESCAPED_SLASHES ) ); }