WP Option Tree Post Checkboxes & Select ignoring admin language

1024px-WordPress_logo.svg

Option Tree can generate a list of checkboxes displaying your posts (or any other post-type). But the generated checkboxes don’t take in the language as Option Tree uses get_posts to fetch the posts from the DB. So you will end up a with a long list of posts where some might have the same title and you can’t distinguish one language from the other.
5 lines of code to the rescue!

Read More