WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Feature request: Add a filter for language switcher widget output. (2 posts)

  1. Ov3rfly
    Member
    Posted 1 year ago #

    Add a filter for language switcher widget output, so the generated HTML/JS content can be altered before output. Currently an instant inline echo "content" is used.

    If you don't have time, I can supply the relevant code, just let me know...

    And thanks for your great plugin.

    http://wordpress.org/extend/plugins/polylang/

  2. Ov3rfly
    Member
    Posted 1 year ago #

    Disregard above feature request, found the already existing pll_the_languages filter in the meantime...

    Note, that filter currently can not modify the JS content of output:
    http://wordpress.org/support/topic/filter-pll_the_languages-does-not-reach-dropdown-javascript-code

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags