Support » Plugin: Multisite Language Switcher » Retrieve the translations aviable via public API

Viewing 1 replies (of 1 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Hi,

    thanks … there is a filter in the output class that could fit your needs:

    /**
     * Returns HTML-link for an item of the output-arr
     * @since 0.9.8
     * @param string $url
     * @param MslsLink $link
     * @param bool current
     */
     apply_filters( 'msls_output_get', $url, $link, $current );

    You could store the inputs in a static var for example. There is also a function get_the_msls() but this is already preprocessed …

    Cheers,
    Dennis.

Viewing 1 replies (of 1 total)
  • The topic ‘Retrieve the translations aviable via public API’ is closed to new replies.