Breadcrumb NavXT
[resolved] How to Unregister Breadcrumb NavXT Widget (2 posts)

  1. cinderalla
    Posted 3 years ago #

    I'm trying to remove the widget from Appearance > Widgets > Available Widgets but can't figure out what the widget ID is so I can use the unregister_widget() function. This is what I have in my functions.php so far:

    function mytheme_remove_widgets(){
    add_action('widgets_init',mytheme_remove_widgets', 1);


  2. cinderalla
    Posted 3 years ago #

    I found the answer to my question and just wanted to add it here in case it can help anyone else. The widget ID is bcn_widget and the priority argument was too high. Here's what works in functions.php to remove the widget from the available widgets:

    function mytheme_remove_widgets(){
    add_action('widgets_init',mytheme_remove_widgets', 11);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Breadcrumb NavXT
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic