The best tool I have found to easily delete links created by Link Library is to use the plugin called Bulk Delete (https://ww.wp.xz.cn/plugins/bulk-delete/). Once installed, click on Bulk WP menu, then scroll down and find the By Post Type section and choose to delete Links. This will take care of deleting all posts and associated post meta.
If you have already partially delete part of the data and Bulk Delete won’t work for you, I would say to delete all posts where the post_type field is link_library_links and all post_meta fields where the meta key name starts with link_
By the way, there is no button to delete the links from the library in Global Options. The only delete thing is to delete old links from version 5.9, not from current 6.x version.
Let me know if this helps you and please consider donating to support this plugin’s development.
Thread Starter
Anonymous User 33811
(@anonymized-33811)
Thank you, hadn’t thought of looking for a plugin, that sounds very useful. In meantime I did figure out the Join SQL and managed to tidy things up from past experiments. I will try to donate within the next month.
Thank you for your help.
Glad to hear you figured out the SQL. Bulk Delete is definitely a great cleanup tool. Thanks in advance for the upcoming support. Cheers.