Title: bcn_display_separator documentation
Last modified: December 25, 2022

---

# bcn_display_separator documentation

 *  Resolved [johnny538](https://wordpress.org/support/users/johnny538/)
 * (@johnny538)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/bcn_display_separator-documentation/)
 * 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/](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:
 *     ```wp-block-code
       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 3 years, 5 months ago by [johnny538](https://wordpress.org/support/users/johnny538/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/bcn_display_separator-documentation/#post-16319425)
 * As mentioned in the documentation, this filter is being introduced in Breadcrumb
   NavXT 7.2, which has not released yet. This filter was just added to the development
   branch for the 7.2 release. You will need the [https://github.com/mtekk/Breadcrumb-NavXT/tree/triathlete](https://github.com/mtekk/Breadcrumb-NavXT/tree/triathlete)
   branch to use the filter. Further examples on how to use this filter will be 
   published closer to the release of Breadcrumb NavXT 7.2.
 * For what you’re tying to do, there is a better way that Breadcrumb NavXT has 
   supported for quite some time. On a multisite setup, there is an network wide
   settings page for Breadcrumb NavXT, and if you set the the constant `BCN_SETTINGS_FAVOR_NETWORK`
   to true your network settings will take precedent over the individual site settings.
   Thus, you should be able to set the separator in the network wide settings and
   have it apply to all of the subsites (see [https://mtekk.us/archives/announcements/bcn_settings_favor_-behavior/](https://mtekk.us/archives/announcements/bcn_settings_favor_-behavior/)
   and [https://mtekk.us/archives/guides/controlling-breadcrumb-navxt-settings-from-the-network-settings-page/](https://mtekk.us/archives/guides/controlling-breadcrumb-navxt-settings-from-the-network-settings-page/)).
 *  Thread Starter [johnny538](https://wordpress.org/support/users/johnny538/)
 * (@johnny538)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/bcn_display_separator-documentation/#post-16319548)
 * Thank you so much for the fast reply.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘bcn_display_separator documentation’ is closed to new replies.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [johnny538](https://wordpress.org/support/users/johnny538/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/bcn_display_separator-documentation/#post-16319548)
 * Status: resolved