Hi, I contacted you earlier regarding showing only current section navigation while also showing top level menu items, and also removing grandchild items which are not siblings or children of the current item. Your filter worked great and we appreciate it!
One other quick question I had was if we could add something to the filter to remove Grandchildren when on a top level page. An image that shows what I mean is here:
I looked through possibilities and tried this but it didn’t seem to work:
remove_filter( ‘advanced-sidebar-menu/list-pages/grandchild-pages’, [
], 1 );