CRP / Top 10 - WPML functions
<?php
/**
* This function forces all related / top ten posts are from the same language.
*
* @param bool $return_original_if_missing
*/
function filter_return_ori( $return_original_if_missing ) {
return true;
}
add_filter( 'crp_wpml_return_original', 'filter_return_ori' );
add_filter( 'tptn_wpml_return_original', 'filter_return_ori' );