wpml_must_translate_canonical_url
Description
This filter can block WPML from translating the canonical URL. If the filter returns false WPML will use the WP SEO canonical URL.
Example Usage
$should_translate_canonical_url = apply_filters( 'wpml_must_translate_canonical_url', true, $post_element ); if ( ! $should_translate_canonical_url ) { return $canonical_url; }