Insert by file name, not by ID

QuestionsCategory: PDF Light ViewerInsert by file name, not by ID
Ando asked 12 months ago

Hello! How to make sure that when converting shorttodes, they are inserted not by ID, but by file name

replied 12 months ago

Hello Ando, using IDs is a common practice. IDs are unique while filenames (names, not full paths) may be the same for the different uploads. IDs usually the most simple way to guarantee that you will receive exactly what you need. Could you please let me know more about your use case?