• Hello,
    I have configured the plugin to translate posts only for 1 category only.
    It work properly, but I have problem with links on these pages.

    Could you add the apply filter to function rewrite_url:
    /wp-content/plugins/transposh-translation-filter-for-wordpress/transposh.php
    1032: function rewrite_url($href) {
    $orig_href = $href;
    ..
    $href = apply_filters( ‘transposh_rewrite_url’, $href, $orig_href );
    return $href;
    }

    [ Please do not bump. ]

Viewing 1 replies (of 1 total)
  • Plugin Author oferwald

    (@oferwald)

    Hi,

    I am not sure what is the real value of this, while there is a large hit of applying the filter every time,

    You may use an alternate rewrite_url function, and provide it to the parser object. I am not sure it is a great solution, but it might just work

Viewing 1 replies (of 1 total)

The topic ‘Add apply_filter to rewrite_url function’ is closed to new replies.