We are trying to rename all our pre and post entity images to the same name "image" to be consistent. Is there a best practice for this?
*This post is locked for comments
We are trying to rename all our pre and post entity images to the same name "image" to be consistent. Is there a best practice for this?
*This post is locked for comments
I follow Goutham's nomenclature as well.
PreImage
PostImage
Hello Mathew ,
I also agreed with Andrew there is no best practices however its always good to have some understandable or meaningful name so that anyone can understand to see the code .
For me I would suggest for pre image define - PreImage and for post image define - PostImage instead of same name pre/post type.
Hello,
There is no best-practice - it could be whatever makes sense - I use just "Target" in my plugins.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156