Skip to content

Commit

Permalink
Fix Yoast canonical URL (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrvigg committed May 29, 2021
1 parent 5115ef6 commit b27047d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/wp-seo/wp-seo-front.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
}

function qtranxf_wpseo_add_filters_front() {
add_filter( 'wpseo_canonical', 'qtranxf_checkCanonical', 10, 2 );

# For reference: https://developer.yoast.com/customization/apis/metadata-api/
$use_filters = array(
# Generic presenters
Expand Down

0 comments on commit b27047d

Please sign in to comment.