Created
October 8, 2021 15:10
-
-
Save yxod/6356f42181874540e4ad2448c9c08f8a to your computer and use it in GitHub Desktop.
Wordpress: Yoast separator
This file contains 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
function filter_wpseo_breadcrumb_separator($this_options_breadcrumbs_sep) | |
{ | |
return '<img class="separ" src="/wp-content/uploads/2021/10/icon.svg">'; | |
}; | |
// add the filter | |
add_filter('wpseo_breadcrumb_separator', 'filter_wpseo_breadcrumb_separator', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment