Insert by file name, not by ID

QuestionsInsert by file name, not by ID
Ando asked 3 years ago

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

replied 3 years 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?