bcn_display_separator documentation | WordPress.org

[ad_1]

Hi,

I’d like to use the filter bcn_display_separator but I can’t find any documentation besides this page: https://mtekk.us/archives/docs/bcn_display_separator/

I’m trying to use it, but it doesn’t seem to be working. My code is as follows:

add_filter('bcn_display_separator', 'custom_breadcrumb_separator', 10, 4);
function custom_breadcrumb_separator($separator) {
    $separator="test123";
    return $separator;
}

My goal is to programmatically set the separator instead of via the admin interface, and thus have it globally apply to all sites in my multisite instance.

I can’t find bcn_display_separator in your Github repository either, and no examples anywhere else. Could you be so kind to explain how to use this filter?

  • This topic was modified 4 hours, 18 minutes ago by johnny538.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer