Created
August 13, 2019 23:48
-
-
Save felipe-pita/43061e2e173c9db0e2bfd1154e534f39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wpseo_breadcrumb_single_link' ,'wpseo_remove_breadcrumb_link', 10 ,2); | |
function wpseo_remove_breadcrumb_link( $link_output , $link ){ | |
$text_to_remove = 'Produtos'; | |
if( $link['text'] == $text_to_remove ) { | |
$link_output = ''; | |
} | |
return $link_output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment