weglot_render_switcher_editor_button

This filter allow you to modifiy the translated content after the custom switcher is added.

add_filter( 'weglot_render_switcher_editor_button', $dom );

Last updated