The navigation links are saved in admin/manager.php
. There are two methods in the BU_Navigation_Admin_Manager
class — process_insertions
and process_updates
that persist link data to posts / postmeta tables.
What are you trying to do? I’d advise against editing plugin code directly — if there is an action / filter that is missing that you would find useful I’d recommend filing an enhancement request via the Github repository.
Thread Starter
kskerp
(@kskerp)
basically if you are using this plugin in connection with the Namaste lms plugin. assignments are unable to be created into navigation links considering they require a unique student_id and lesson_id that is unique to each logged in student (that Namaste assigns).
I am going to add a file from the Namaste that will be extended in the bu navigation in order to obtain these values. this way I can create an assignment navigation menu link. I would have to create a check that if the url = “assignment-blah blah” (something unique that the admin manually assigns on creation of a menu item) the bu navigation file will read it know that this is that unique case and change the url to the actual url with the student_id and lesson_id properly added.
I am sorry if this does not make a lot of sense. the code I am adding should only amend a url if it is equal to the checker url.
Thread Starter
kskerp
(@kskerp)
disregard I got this working.