Title: morikawa77's Replies | WordPress.org

---

# morikawa77

  [  ](https://wordpress.org/support/users/morikawa77/)

 *   [Profile](https://wordpress.org/support/users/morikawa77/)
 *   [Topics Started](https://wordpress.org/support/users/morikawa77/topics/)
 *   [Replies Created](https://wordpress.org/support/users/morikawa77/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/morikawa77/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/morikawa77/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/morikawa77/engagements/)
 *   [Favorites](https://wordpress.org/support/users/morikawa77/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Removing hreflang Across the Site](https://wordpress.org/support/topic/removing-hreflang-across-the-site/)
 *  [morikawa77](https://wordpress.org/support/users/morikawa77/)
 * (@morikawa77)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/removing-hreflang-across-the-site/#post-13701360)
 * Hi [@bheligman](https://wordpress.org/support/users/bheligman/)
 * There’s anothers topics about this but no one tell how to do this.
    I look the
   documentation and trying / get wrong until get right 🙂
 * // insert this code at your functions.php file
 * // define the pll_rel_hreflang_attributes callback
    function filter_pll_rel_hreflang_attributes(
   $hreflangs ) { // for default plugin returns hreflang tags, returning nothing
   plugin dont write the tags 🙂 //return $hreflangs; };
 * // add the filter
    add_filter( ‘pll_rel_hreflang_attributes’, ‘filter_pll_rel_hreflang_attributes’,
   10, 1 );

Viewing 1 replies (of 1 total)