Skip to content

Instantly share code, notes, and snippets.

@haroldparis
Last active December 19, 2018 11:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haroldparis/5842725 to your computer and use it in GitHub Desktop.
Save haroldparis/5842725 to your computer and use it in GitHub Desktop.
WooCommerce : Forcing to use wp_title() over woo_title() for WordPress SEO by Yoast
<?php
// Forcing to use wp_title() for WordPress SEO by Yoast ... damn.
function force_wp_title_for_yoast() {
return wp_title();
}
add_filter( 'woo_title', 'force_wp_title_for_yoast' );
?>
@kmb40
Copy link

kmb40 commented Sep 15, 2015

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment