Hi.
It seems I’ve got an issue with the public_navigation_main
filter: I’m using the Reference plugin, and wanted to change the navigation menu item from “References” to “Item Types” when no other metadata element was selected in the plugin configuration.
I’ve changed the code, that is now checking whether only Item Types are selected, and in that case passes to the public_navigation_main
filter the new label, instead of the original one.
I would expect that label to be used, but instead the original one is shown, as it it the one associated with that menu item in the admin/appearance/edit-navigation
page (the theme is Thanks, Roy).
Is there a way to programmatically override the original label?
Thanks.